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
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 Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
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 Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore
SystemDependency
public
new
SystemDependency
(Order.BEFORE, ModelSystems.ModelSpawned.class)
Method SystemDependency.
- Parameters:
Order.BEFOREOrder.BEFOREModelSystems.ModelSpawned.classModelSystems.ModelSpawned.class
WorldGenId
public
new
WorldGenId
(holder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPE)
Method WorldGenId.
- Parameters:
holder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPEholder.getComponent(AddedFromWorldGen.FROM_WORLD_GEN_COMPONENT_TYPE
Nameplate
public
new
Nameplate
(displayName)
Method Nameplate.
- Parameters:
displayNamedisplayName
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 Refref@Nonnull final DisplayNameComponentcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refreffinal DisplayNameComponentoldComponent@Nonnull final DisplayNameComponentnewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nonnull final DisplayNameComponentcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
PrefabPlaceEntityEventSystem
public
public
PrefabPlaceEntityEventSystem
()
Method PrefabPlaceEntityEventSystem.
handle
public
void
handle
(@Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer, @Nonnull final PrefabPlaceEntityEvent event)
Method handle.
- Parameters:
@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer@Nonnull final PrefabPlaceEntityEventevent