public class ReachLocationMarkerSystems
Class ReachLocationMarkerSystems. Provides reachlocationmarkersystems functionality for the Hytale server.
java.lang.Object > ReachLocationMarkerSystems
Field Summary
reachLocationMarkerComponent
final
ReachLocationMarker
reachLocationMarkerComponent
Field reachLocationMarkerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
pos
final
Vector3d
pos
Field pos.
objectiveDataStore
final
ObjectiveDataStore
objectiveDataStore
Field objectiveDataStore.
taskRefs
final
Set>
taskRefs
Field taskRefs.
objective
final
Objective
objective
Field objective.
markerId
final
String
markerId
Field markerId.
asset
final
ReachLocationMarkerAsset
asset
Field asset.
previousPlayers
final
Set
previousPlayers
Field previousPlayers.
players
final
Set
players
Field players.
position
final
Vector3d
position
Field position.
otherEntityReference
final
Ref
otherEntityReference
Field otherEntityReference.
otherUuidComponent
final
UUIDComponent
otherUuidComponent
Field otherUuidComponent.
otherUuid
final
UUID
otherUuid
Field otherUuid.
Method Detail
onEntityAdded
public
void
onEntityAdded
(@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityAdded.
- Parameters:
@Nonnull final Refref@Nonnull final AddReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onEntityRemove
public
void
onEntityRemove
(@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onEntityRemove.
- Parameters:
@Nonnull final Refref@Nonnull final RemoveReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
EnsureNetworkSendable
public
public
EnsureNetworkSendable
()
Method EnsureNetworkSendable.
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
NetworkId
public
new
NetworkId
(store.getExternalData()
Method NetworkId.
- Parameters:
store.getExternalData(store.getExternalData(
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
Ticking
public
public
Ticking
(final ComponentType reachLocationMarkerComponent, final ResourceType, EntityStore>> playerSpatialComponent)
Method Ticking.
- Parameters:
final ComponentTypereachLocationMarkerComponentfinal ResourceTypeplayerSpatialComponent, EntityStore>>
SystemDependency
public
new
SystemDependency
(Order.AFTER, PlayerSpatialSystem.class, OrderPriority.CLOSEST)
Method SystemDependency.
- Parameters:
Order.AFTEROrder.AFTERPlayerSpatialSystem.classPlayerSpatialSystem.classOrderPriority.CLOSESTOrderPriority.CLOSEST
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
tick
public
void
tick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer