public class EntityInteractableSystems
Class EntityInteractableSystems. Provides entityinteractablesystems functionality for the Hytale server.
java.lang.Object > EntityInteractableSystems
Field Summary
visible
final
EntityTrackerSystems.Visible
visible
Field visible.
ref
final
Ref
ref
Field ref.
update
final
ComponentUpdate
update
Field update.
Method Detail
QueueResource
public
public
QueueResource
()
Method QueueResource.
getResourceType
public
QueueResource>
getResourceType
()
Method getResourceType.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
if
public
else
if
(!visible.newlyVisibleTo.isEmpty()
Method if.
- Parameters:
!visible.newlyVisibleTo.isEmpty(!visible.newlyVisibleTo.isEmpty(
queueUpdatesFor
static
void
queueUpdatesFor
(final Ref ref, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)
Method queueUpdatesFor.
- Parameters:
final Refref@Nonnull final Map, EntityTrackerSystems.EntityViewer>visibleTo
EntityTrackerAddAndRemove
Method EntityTrackerAddAndRemove.
- Parameters:
final ComponentTypevisibleComponentType
componentType
public
Interactable>
componentType
()
Method componentType.
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final Interactable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final Interactablecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentSet
public
void
onComponentSet
(@Nonnull final Ref ref, final Interactable oldComponent, @Nonnull final Interactable newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentSet.
- Parameters:
@Nonnull final Refreffinal InteractableoldComponent@Nonnull final InteractablenewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentRemoved
public
void
onComponentRemoved
(@Nonnull final Ref ref, @Nonnull final Interactable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentRemoved.
- Parameters:
@Nonnull final Refref@Nonnull final Interactablecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer