public class TempleRespawnPlayersSystem extends DelayedEntitySystem
System for handling templerespawnplayers mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > DelayedEntitySystem > TempleRespawnPlayersSystem
Field Summary
world
final
World
world
Field world.
gameplayConfig
final
GameplayConfig
gameplayConfig
Field gameplayConfig.
config
final
ForgottenTempleConfig
config
Field config.
position
final
Vector3d
position
Field position.
ref
final
Ref
ref
Field ref.
spawnProvider
final
ISpawnProvider
spawnProvider
Field spawnProvider.
spawnPoint
final
Transform
spawnPoint
Field spawnPoint.
playerRef
final
PlayerRef
playerRef
Field playerRef.
Method Detail
TempleRespawnPlayersSystem
public
public
TempleRespawnPlayersSystem
()
Method TempleRespawnPlayersSystem.
tick
public
void
tick
(final float dt, final int index, @NonNullDecl final ArchetypeChunk archetypeChunk, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@NonNullDecl final ArchetypeChunkarchetypeChunk@NonNullDecl final Storestore@NonNullDecl final CommandBuffercommandBuffer
Teleport
public
new
Teleport
(null, spawnPoint)
Method Teleport.
- Parameters:
nullnullspawnPointspawnPoint