SpawnBeacon

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.

getSpawnWrapper

public BeaconSpawnWrapper getSpawnWrapper ()

Method getSpawnWrapper.

setSpawnWrapper

public void setSpawnWrapper (@Nonnull final BeaconSpawnWrapper spawnWrapper)

Method setSpawnWrapper.

Parameters:
@Nonnull final BeaconSpawnWrapper spawnWrapper

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 Ref ref
@Nonnull final Ref targetRef
@Nonnull final ComponentAccessor componentAccessor

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 Ref ref
final double locX
final double locY
final double locZ
@Nonnull final ComponentAccessor componentAccessor

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 Ref ref
@Nonnull final FloodFillPositionSelector positionSelector
@Nonnull final Ref targetRef
@Nonnull final Store store

postSpawn

public > postSpawn (_npc, _ref, this.spawnWrapper.getSpawn()

Method postSpawn.

Parameters:
_npc _npc
_ref _ref
this.spawnWrapper.getSpawn( this.spawnWrapper.getSpawn(

markUnspawnable

protected void markUnspawnable (final Ref ref, final int index, final ComponentAccessor componentAccessor)

Method markUnspawnable.

Parameters:
final Ref ref
final int index
final ComponentAccessor componentAccessor

toString

public String toString ()

Method toString.