public class InvulnerableSystems
Class InvulnerableSystems. Provides invulnerablesystems functionality for the Hytale server.
java.lang.Object > InvulnerableSystems
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
Invulnerable>
componentType
()
Method componentType.
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final Invulnerable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final Invulnerablecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentSet
public
void
onComponentSet
(@Nonnull final Ref ref, final Invulnerable oldComponent, @Nonnull final Invulnerable newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentSet.
- Parameters:
@Nonnull final Refreffinal InvulnerableoldComponent@Nonnull final InvulnerablenewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentRemoved
public
void
onComponentRemoved
(@Nonnull final Ref ref, @Nonnull final Invulnerable component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentRemoved.
- Parameters:
@Nonnull final Refref@Nonnull final Invulnerablecomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer