public class LegacyEntityTrackerSystems
Class LegacyEntityTrackerSystems. Provides legacyentitytrackersystems functionality for the Hytale server.
java.lang.Object > LegacyEntityTrackerSystems
Field Summary
viewer
Field viewer.
entity
Field entity.
transformComponent
Field transformComponent.
headRotationComponent
Field headRotationComponent.
modelComponent
Field modelComponent.
statMapComponent
Field statMapComponent.
predictionComponent
Field predictionComponent.
effectControllerComponent
Field effectControllerComponent.
nameplateComponent
Field nameplateComponent.
entityUpdate
Field entityUpdate.
list
Field list.
update
Field update.
entityScaleComponent
Field entityScaleComponent.
component
Field component.
inventory
Field inventory.
update2
Field update2.
armor
Field armor.
itemInHand
Field itemInHand.
utilityItem
Field utilityItem.
world
Field world.
entityViewerComponent
Field entityViewerComponent.
position
Field position.
ref
Field ref.
boundingBoxComponent
Field boundingBoxComponent.
otherTransformComponent
Field otherTransformComponent.
distanceSq
Field distanceSq.
maximumThickness
Field maximumThickness.
entityViewer
Field entityViewer.
viewerRef
Field viewerRef.
visibleComponent
Field visibleComponent.
modelOutdated
Field modelOutdated.
Method Detail
sendPlayerSelf
Method sendPlayerSelf.
- Parameters:
@Nonnull final RefviewerRef@Nonnull final Storestore
EntityUpdates
new
EntityUpdates
(null, new EntityUpdate[] { entityUpdate })
Method EntityUpdates.
- Parameters:
nullnullnew EntityUpdate[] { entityUpdate}
SystemDependency
new
SystemDependency
(Order.AFTER, EntityTrackerSystems.CollectVisible.class)
Method SystemDependency.
- Parameters:
Order.AFTEROrder.AFTEREntityTrackerSystems.CollectVisible.classEntityTrackerSystems.CollectVisible.class
getDependencies
Set>
getDependencies
()
Method getDependencies.
isParallel
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
tick
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
LegacyHideFromEntity
Method LegacyHideFromEntity.
- Parameters:
final ComponentTypeentityViewerComponentType
canHideEntities
Method canHideEntities.
- Parameters:
final Entityentity@Nonnull final PlayerSettingssettings
if
else
if
(!visibleComponent.newlyVisibleTo.isEmpty()
Method if.
- Parameters:
!visibleComponent.newlyVisibleTo.isEmpty(!visibleComponent.newlyVisibleTo.isEmpty(
queueUpdatesFor
void
queueUpdatesFor
(final Ref ref, @Nullable final ModelComponent model, final float entityScale, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)
Method queueUpdatesFor.
- Parameters:
final Refref@Nullable final ModelComponentmodelfinal floatentityScale@Nonnull final Map, EntityTrackerSystems.EntityViewer>visibleTo
LegacyEntitySkin
public
LegacyEntitySkin
(final ComponentType visibleComponentType, final ComponentType playerSkinComponentComponentType)
Method LegacyEntitySkin.
- Parameters:
final ComponentTypevisibleComponentTypefinal ComponentTypeplayerSkinComponentComponentType