classpublicPriority 3
LegacySpawnBeaconEntity
com.hypixel.hytale.server.spawning.beacons.LegacySpawnBeaconEntity
extends Entity
25
Methods
25
Public Methods
9
Fields
2
Constructors
Constants
BuilderCodec<LegacySpawnBeaconEntity>CODEC= BuilderCodec.builder(
LegacySpawnBeaconEntity.class, LegacySpawnBeaconEntity::new, Entit...
Constructors
private
LegacySpawnBeaconEntity()public
LegacySpawnBeaconEntity(World world)Methods
Public Methods (25)
publicstatic
void clearDespawnTimer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)publicstatic
Holder<EntityStore> createHolder(BeaconSpawnWrapper spawnWrapper, Vector3d position, Vector3f rotation)publicstatic
ComponentType<EntityStore, LegacySpawnBeaconEntity> getComponentType()@Nullable
public
Instant getDespawnSelfAfter()@Nullable
public
int getLastPlayerCount()public
Instant getNextSpawnAfter()public
UUID getObjectiveUUID()@Nullable
public
int getSpawnAttempts()public
String getSpawnConfigId()public
BeaconSpawnController getSpawnController()public
BeaconSpawnWrapper getSpawnWrapper()public
boolean isCollidable()@Override
public
boolean isNextSpawnAfterRealtime()public
void markNPCUnspawnable(int roleIndex)public
void moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor)@Override
public
void notifyFailedSpawn()public
void notifySpawn(Player target, Ref<EntityStore> spawnedEntity, Store<EntityStore> store)publicstatic
void prepareNextSpawnTimer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)public
void setLastPlayerCount(int lastPlayerCount)public
void setObjectiveUUID(UUID objectiveUUID)public
void setSpawnAttempts(int spawnAttempts)public
void setSpawnController(BeaconSpawnController spawnController)public
void setSpawnWrapper(BeaconSpawnWrapper spawnWrapper)publicstatic
void setToDespawnAfter(Ref<EntityStore> ref, Duration duration, ComponentAccessor<EntityStore> componentAccessor)public
String toString()@Nonnull@Override
Fields
Protected Fields (1)
protected
UUID objectiveUUIDPrivate/Package Fields (8)
private
Instant despawnSelfAfterprivate
int lastPlayerCountprivate
Instant nextSpawnAfterprivate
boolean nextSpawnAfterRealtimeprivate
int spawnAttemptsprivate
String spawnConfigIdprivate
BeaconSpawnController spawnControllerprivate
BeaconSpawnWrapper spawnWrapper