Contents
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
- Since:
- 2021/02/18
-
Nested Class Summary
Nested classes/interfaces inherited from class Entity
Entity.DefaultAnimations -
Field Summary
FieldsFields inherited from class Entity
DISPLAY_NAME, LOGGER, UNASSIGNED_ID, UUID, VERSIONFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentType<EntityStore, SpawnBeacon> booleanbooleanisHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Determines whether this entity is hidden from the given target entitybooleanmanualTrigger(Ref<EntityStore> ref, FloodFillPositionSelector positionSelector, Ref<EntityStore> targetRef, Store<EntityStore> store) voidmoveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) voidsetSpawnWrapper(BeaconSpawnWrapper spawnWrapper) toString()Methods inherited from class Entity
clearReference, clone, equals, getLegacyDisplayName, getNetworkId, getReference, getUuid, getWorld, hashCode, loadIntoWorld, markNeedsSave, remove, setLegacyUUID, setReference, toHolder, unloadFromWorld, wasRemovedMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
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) Description copied from class:EntityDetermines whether this entity is hidden from the given target entity- Overrides:
isHiddenFromLivingEntityin classEntity- Parameters:
ref- The entity reference of this entitytargetRef- The entity reference of the target entitycomponentAccessor- TheComponentAccessorfor component access- Returns:
trueif they are hidden from the target entity,falseotherwise
-
isCollidable
public boolean isCollidable()- Overrides:
isCollidablein classEntity- Returns:
trueif this entity is collidable,falseotherwise.
-
moveTo
public void moveTo(@Nonnull Ref<EntityStore> ref, double locX, double locY, double locZ, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Overrides:
moveToin classEntity- Parameters:
ref- The entity reference of this entity.locX- The X coordinate to move to.locY- The Y coordinate to move to.locZ- The Z coordinate to move to.componentAccessor- TheComponentAccessor<EntityStore>for component access.
-
manualTrigger
public boolean manualTrigger(@Nonnull Ref<EntityStore> ref, @Nonnull FloodFillPositionSelector positionSelector, @Nonnull Ref<EntityStore> targetRef, @Nonnull Store<EntityStore> store) -
toString
-