PrefabPathSystems

public class PrefabPathSystems

Class PrefabPathSystems. Provides prefabpathsystems functionality for the Hytale server.

java.lang.Object > PrefabPathSystems

Field Summary

pathMarker

final PatrolPathMarkerEntity pathMarker

Field pathMarker.

worldPathData

final WorldPathData worldPathData

Field worldPathData.

worldGenIdComponent

final WorldGenId worldGenIdComponent

Field worldGenIdComponent.

worldgenId

final int worldgenId

Field worldgenId.

pathName

final String pathName

Field pathName.

lastIndex

final int lastIndex

Field lastIndex.

path

final IPrefabPath path

Field path.

patrolPathMarkerComponent

final PatrolPathMarkerEntity patrolPathMarkerComponent

Field patrolPathMarkerComponent.

legacyDisplayName

final String legacyDisplayName

Field legacyDisplayName.

legacyDisplayNameMessage

final Message legacyDisplayNameMessage

Field legacyDisplayNameMessage.

nameplateComponent

final Nameplate nameplateComponent

Field nameplateComponent.

displayName

final String displayName

Field displayName.

displayNameMessage

final Message displayNameMessage

Field displayNameMessage.

holder

final Holder holder

Field holder.

pathId

final UUID pathId

Field pathId.

newPathName

final String newPathName

Field newPathName.

newPathId

final UUID newPathId

Field newPathId.

Method Detail

getQuery

public Query getQuery ()

Method getQuery.

getDependencies

public Set> getDependencies ()

Method getDependencies.

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

ModelComponent

public new ModelComponent (PathPlugin.get()

Method ModelComponent.

Parameters:
PathPlugin.get( PathPlugin.get(

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

SystemDependency

public new SystemDependency (Order.BEFORE, ModelSystems.ModelSpawned.class)

Method SystemDependency.

Parameters:
Order.BEFORE Order.BEFORE
ModelSystems.ModelSpawned.class ModelSystems.ModelSpawned.class

getGroup

public SystemGroup getGroup ()

Method getGroup.

WorldGenId

public new WorldGenId (holder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPE)

Method WorldGenId.

Parameters:
holder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPE holder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPE

Nameplate

public new Nameplate (displayName)

Method Nameplate.

Parameters:
displayName displayName

componentType

public DisplayNameComponent> componentType ()

Method componentType.

onComponentAdded

public void onComponentAdded (@Nonnull final Ref ref, @Nonnull final DisplayNameComponent component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final DisplayNameComponent component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentSet

public void onComponentSet (@Nonnull final Ref ref, final DisplayNameComponent oldComponent, @Nonnull final DisplayNameComponent newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentSet.

Parameters:
@Nonnull final Ref ref
final DisplayNameComponent oldComponent
@Nonnull final DisplayNameComponent newComponent
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentRemoved

public void onComponentRemoved (@Nonnull final Ref ref, @Nonnull final DisplayNameComponent component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentRemoved.

Parameters:
@Nonnull final Ref ref
@Nonnull final DisplayNameComponent component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

PrefabPlaceEntityEventSystem

public public PrefabPlaceEntityEventSystem ()

Method PrefabPlaceEntityEventSystem.

handle

Method handle.

Parameters:
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer
@Nonnull final PrefabPlaceEntityEvent event