Class SpawnBeacon
java.lang.Object
com.hypixel.hytale.server.core.entity.Entity
com.hypixel.hytale.server.spawning.beacons.SpawnBeacon
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.core.entity.Entity
Entity.DefaultAnimations -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<SpawnBeacon> private Stringprivate final SpawningContextprivate BeaconSpawnWrapperprivate final it.unimi.dsi.fastutil.ints.IntSetFields inherited from class com.hypixel.hytale.server.core.entity.Entity
DISPLAY_NAME, legacyDisplayName, legacyUuid, LOGGER, MODEL, networkId, reference, removedBy, UNASSIGNED_ID, UUID, VERSION, wasRemoved, worldFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentType<EntityStore, SpawnBeacon> booleanbooleanisHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) booleanmanualTrigger(Ref<EntityStore> ref, com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector positionSelector, Ref<EntityStore> targetRef, Store<EntityStore> store) protected voidmarkUnspawnable(Ref<EntityStore> ref, int index, ComponentAccessor<EntityStore> componentAccessor) voidmoveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) protected static voidpostSpawn(NPCEntity npc, Ref<EntityStore> selfRef, BeaconNPCSpawn spawn, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidsetSpawnWrapper(BeaconSpawnWrapper spawnWrapper) toString()Methods inherited from class com.hypixel.hytale.server.core.entity.Entity
clearReference, clone, equals, getLegacyDisplayName, getNetworkId, getReference, getTransformComponent, getUuid, getWorld, hashCode, loadIntoWorld, markNeedsSave, remove, setLegacyUUID, setReference, setTransformComponent, toHolder, unloadFromWorld, wasRemovedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
CODEC
-
spawnWrapper
-
spawnConfigId
-
unspawnableRoles
private final it.unimi.dsi.fastutil.ints.IntSet unspawnableRoles -
spawningContext
-
-
Constructor Details
-
SpawnBeacon
public SpawnBeacon() -
SpawnBeacon
-
-
Method Details
-
getComponentType
-
getSpawnWrapper
-
setSpawnWrapper
-
getSpawnConfigId
-
isHiddenFromLivingEntity
public boolean isHiddenFromLivingEntity(@Nonnull Ref<EntityStore> ref, @Nonnull Ref<EntityStore> targetRef, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Overrides:
isHiddenFromLivingEntityin classEntity
-
isCollidable
public boolean isCollidable()- Overrides:
isCollidablein classEntity
-
moveTo
public void moveTo(@Nonnull Ref<EntityStore> ref, double locX, double locY, double locZ, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
manualTrigger
public boolean manualTrigger(@Nonnull Ref<EntityStore> ref, @Nonnull com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector positionSelector, @Nonnull Ref<EntityStore> targetRef, @Nonnull Store<EntityStore> store) -
markUnspawnable
protected void markUnspawnable(Ref<EntityStore> ref, int index, ComponentAccessor<EntityStore> componentAccessor) -
postSpawn
protected static void postSpawn(@Nonnull NPCEntity npc, @Nonnull Ref<EntityStore> selfRef, @Nonnull BeaconNPCSpawn spawn, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) -
toString
-