public class SpawnMarkerEntity implements Component
Class SpawnMarkerEntity. Provides spawnmarkerentity functionality for the Hytale server.
java.lang.Object > SpawnMarkerEntity
Field Summary
spawnMarkerId
Field spawnMarkerId.
cachedMarker
Field cachedMarker.
respawnCounter
Field respawnCounter.
gameTimeRespawn
Field gameTimeRespawn.
spawnAfter
Field spawnAfter.
spawnCount
Field spawnCount.
suppressedBy
Field suppressedBy.
failedSpawns
Field failedSpawns.
npcReferences
Field npcReferences.
storedFlock
Field storedFlock.
timeToDeactivation
Field timeToDeactivation.
despawnStarted
Field despawnStarted.
spawnLostTimeoutCounter
Field spawnLostTimeoutCounter.
ret
Field ret.
spawn
Field spawn.
realtime
Field realtime.
uuidComponent
Field uuidComponent.
uuid
Field uuid.
roleName
Field roleName.
npcModule
Field npcModule.
roleIndex
Field roleIndex.
transformComponent
Field transformComponent.
position
Field position.
builderInfo
Field builderInfo.
role
Field role.
hasPlayersInRange
Field hasPlayersInRange.
world
Field world.
testResult
Field testResult.
spawnMarkerReference
Field spawnMarkerReference.
worldgenIdComponent
Field worldgenIdComponent.
worldgenId
Field worldgenId.
rotation
Field rotation.
npcRef
Field npcRef.
npcComponent
Field npcComponent.
flockReference
Field flockReference.
group
Field group.
reference2
Field reference2.
reference
Field reference.
spawnMarker
Field spawnMarker.
modelName
Field modelName.
Method Detail
getComponentType
SpawnMarkerEntity>
getComponentType
()
Method getComponentType.
SpawnMarkerEntity
public
SpawnMarkerEntity
()
Method SpawnMarkerEntity.
getSpawnCount
int
getSpawnCount
()
Method getSpawnCount.
setSpawnCount
void
setSpawnCount
(final int spawnCount)
Method setSpawnCount.
- Parameters:
final intspawnCount
setRespawnCounter
void
setRespawnCounter
(final double respawnCounter)
Method setRespawnCounter.
- Parameters:
final doublerespawnCounter
setSpawnAfter
void
setSpawnAfter
(final Instant spawnAfter)
Method setSpawnAfter.
- Parameters:
final InstantspawnAfter
getSpawnAfter
Instant
getSpawnAfter
()
Method getSpawnAfter.
setGameTimeRespawn
void
setGameTimeRespawn
(final Duration gameTimeRespawn)
Method setGameTimeRespawn.
- Parameters:
final DurationgameTimeRespawn
pollGameTimeRespawn
Duration
pollGameTimeRespawn
()
Method pollGameTimeRespawn.
tickRespawnTimer
boolean
tickRespawnTimer
(final float dt)
Method tickRespawnTimer.
- Parameters:
final floatdt
getSuppressedBy
Set
getSuppressedBy
()
Method getSuppressedBy.
getTimeToDeactivation
double
getTimeToDeactivation
()
Method getTimeToDeactivation.
setTimeToDeactivation
void
setTimeToDeactivation
(final double timeToDeactivation)
Method setTimeToDeactivation.
- Parameters:
final doubletimeToDeactivation
tickTimeToDeactivation
boolean
tickTimeToDeactivation
(final float dt)
Method tickTimeToDeactivation.
- Parameters:
final floatdt
tickSpawnLostTimeout
boolean
tickSpawnLostTimeout
(final float dt)
Method tickSpawnLostTimeout.
- Parameters:
final floatdt
getNpcReferences
InvalidatablePersistentRef[]
getNpcReferences
()
Method getNpcReferences.
setNpcReferences
void
setNpcReferences
(final InvalidatablePersistentRef[] npcReferences)
Method setNpcReferences.
- Parameters:
final InvalidatablePersistentRef[]npcReferences
getTempStorageList
NPCEntity>>
getTempStorageList
()
Method getTempStorageList.
setTempStorageList
void
setTempStorageList
(final List, NPCEntity>> tempStorageList)
Method setTempStorageList.
- Parameters:
final ListtempStorageList, NPCEntity>>
isDespawnStarted
boolean
isDespawnStarted
()
Method isDespawnStarted.
setDespawnStarted
void
setDespawnStarted
(final boolean despawnStarted)
Method setDespawnStarted.
- Parameters:
final booleandespawnStarted
refreshTimeout
void
refreshTimeout
()
Method refreshTimeout.
spawnNPC
boolean
spawnNPC
(@Nonnull final Ref ref, @Nonnull final SpawnMarker marker, @Nonnull final Store store)
Method spawnNPC.
- Parameters:
@Nonnull final Refref@Nonnull final SpawnMarkermarker@Nonnull final Storestore
WorldGenId
new
WorldGenId
(worldgenId)
Method WorldGenId.
- Parameters:
worldgenIdworldgenId
fail
void
fail
(@Nonnull final Ref self, final UUID uuid, final String npc, final Vector3d position, @Nonnull final Store store, final FailReason reason)
Method fail.
- Parameters:
@Nonnull final Refselffinal UUIDuuidfinal Stringnpcfinal Vector3dposition@Nonnull final Storestorefinal FailReasonreason
decrementAndGetSpawnCount
int
decrementAndGetSpawnCount
()
Method decrementAndGetSpawnCount.
getSpawnMarkerId
String
getSpawnMarkerId
()
Method getSpawnMarkerId.
isManualTrigger
boolean
isManualTrigger
()
Method isManualTrigger.
suppress
void
suppress
(final UUID suppressor)
Method suppress.
- Parameters:
final UUIDsuppressor
releaseSuppression
void
releaseSuppression
(final UUID suppressor)
Method releaseSuppression.
- Parameters:
final UUIDsuppressor
clearAllSuppressions
void
clearAllSuppressions
()
Method clearAllSuppressions.
toString
String
toString
()
Method toString.