public class SpawnBeacon extends Entity
Class SpawnBeacon. Provides spawnbeacon functionality for the Hytale server.
java.lang.Object > Entity > SpawnBeacon
Field Summary
spawnWrapper
private
BeaconSpawnWrapper
spawnWrapper
Field spawnWrapper.
spawnConfigId
private
String
spawnConfigId
Field spawnConfigId.
targetPlayerComponent
final
Player
targetPlayerComponent
Field targetPlayerComponent.
positionSelectorComponent
final
FloodFillPositionSelector
positionSelectorComponent
Field positionSelectorComponent.
concurrentSpawns
final
int
concurrentSpawns
Field concurrentSpawns.
roleSpawnParameters
final
RoleSpawnParameters
roleSpawnParameters
Field roleSpawnParameters.
roleIndex
final
int
roleIndex
Field roleIndex.
spawnable
final
ISpawnableWithModel
spawnable
Field spawnable.
targetPos
final
Vector3d
targetPos
Field targetPos.
position
final
Vector3d
position
Field position.
rotation
final
Vector3f
rotation
Field rotation.
flockDefinition
final
FlockAsset
flockDefinition
Field flockDefinition.
flockSize
final
int
flockSize
Field flockSize.
npcRef
final
Ref
npcRef
Field npcRef.
npcComponent
final
NPCEntity
npcComponent
Field npcComponent.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
role
final
Role
role
Field role.
spawnState
final
String
spawnState
Field spawnState.
Method Detail
getComponentType
public
SpawnBeacon>
getComponentType
()
Method getComponentType.
SpawnBeacon
public
public
SpawnBeacon
()
Method SpawnBeacon.
getSpawnConfigId
public
String
getSpawnConfigId
()
Method getSpawnConfigId.
isHiddenFromLivingEntity
public
boolean
isHiddenFromLivingEntity
(@Nonnull final Ref ref, @Nonnull final Ref targetRef, @Nonnull final ComponentAccessor componentAccessor)
Method isHiddenFromLivingEntity.
- Parameters:
@Nonnull final Refref@Nonnull final ReftargetRef@Nonnull final ComponentAccessorcomponentAccessor
isCollidable
public
boolean
isCollidable
()
Method isCollidable.
moveTo
public
void
moveTo
(@Nonnull final Ref ref, final double locX, final double locY, final double locZ, @Nonnull final ComponentAccessor componentAccessor)
Method moveTo.
- Parameters:
@Nonnull final Refreffinal doublelocXfinal doublelocYfinal doublelocZ@Nonnull final ComponentAccessorcomponentAccessor
manualTrigger
public
boolean
manualTrigger
(@Nonnull final Ref ref, @Nonnull final FloodFillPositionSelector positionSelector, @Nonnull final Ref targetRef, @Nonnull final Store store)
Method manualTrigger.
- Parameters:
@Nonnull final Refref@Nonnull final FloodFillPositionSelectorpositionSelector@Nonnull final ReftargetRef@Nonnull final Storestore
postSpawn
public
>
postSpawn
(_npc, _ref, this.spawnWrapper.getSpawn()
Method postSpawn.
- Parameters:
_npc_npc_ref_refthis.spawnWrapper.getSpawn(this.spawnWrapper.getSpawn(
markUnspawnable
protected
void
markUnspawnable
(final Ref ref, final int index, final ComponentAccessor componentAccessor)
Method markUnspawnable.
- Parameters:
final Refreffinal intindexfinal ComponentAccessorcomponentAccessor
toString
public
String
toString
()
Method toString.