public class NameplateSystems
Class NameplateSystems. Provides nameplatesystems functionality for the Hytale server.
java.lang.Object > NameplateSystems
Field Summary
visibleComponent
final
EntityTrackerSystems.Visible
visibleComponent
Field visibleComponent.
nameplateComponent
final
Nameplate
nameplateComponent
Field nameplateComponent.
update
final
ComponentUpdate
update
Field update.
Method Detail
EntityTrackerUpdate
public
public
EntityTrackerUpdate
(@Nonnull final ComponentType visibleComponentType, @Nonnull final ComponentType componentType)
Method EntityTrackerUpdate.
- Parameters:
@Nonnull final ComponentTypevisibleComponentType@Nonnull final ComponentTypecomponentType
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
if
public
else
if
(!visibleComponent.newlyVisibleTo.isEmpty()
Method if.
- Parameters:
!visibleComponent.newlyVisibleTo.isEmpty(!visibleComponent.newlyVisibleTo.isEmpty(
queueUpdatesFor
static
void
queueUpdatesFor
(@Nonnull final Ref ref, @Nonnull final Nameplate nameplateComponent, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)
Method queueUpdatesFor.
- Parameters:
@Nonnull final Refref@Nonnull final NameplatenameplateComponent@Nonnull final Map, EntityTrackerSystems.EntityViewer>visibleTo
EntityTrackerRemove
public
public
EntityTrackerRemove
(@Nonnull final ComponentType visibleComponentType, @Nonnull final ComponentType componentType)
Method EntityTrackerRemove.
- Parameters:
@Nonnull final ComponentTypevisibleComponentType@Nonnull final ComponentTypecomponentType
componentType
public
Nameplate>
componentType
()
Method componentType.
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final Nameplate component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final Nameplatecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentSet
public
void
onComponentSet
(@Nonnull final Ref ref, final Nameplate oldComponent, @Nonnull final Nameplate newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentSet.
- Parameters:
@Nonnull final Refreffinal NameplateoldComponent@Nonnull final NameplatenewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentRemoved
public
void
onComponentRemoved
(@Nonnull final Ref ref, @Nonnull final Nameplate component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentRemoved.
- Parameters:
@Nonnull final Refref@Nonnull final Nameplatecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer