public class RoleSystems
Class RoleSystems. Provides rolesystems functionality for the Hytale server.
java.lang.Object > RoleSystems
Field Summary
npcComponent
final
NPCEntity
npcComponent
Field npcComponent.
role
final
Role
role
Field role.
modelComponent
final
ModelComponent
modelComponent
Field modelComponent.
boundingBoxComponent
final
BoundingBox
boundingBoxComponent
Field boundingBoxComponent.
markedEntitySupport
final
MarkedEntitySupport
markedEntitySupport
Field markedEntitySupport.
entityTargets
final
Ref[]
entityTargets
Field entityTargets.
targetReference
final
Ref
targetReference
Field targetReference.
playerComponent
final
Player
playerComponent
Field playerComponent.
playerSettingsComponent
final
PlayerSettings
playerSettingsComponent
Field playerSettingsComponent.
deathComponent
final
DeathComponent
deathComponent
Field deathComponent.
world
final
World
world
Field world.
isAllNpcFrozen
final
boolean
isAllNpcFrozen
Field isAllNpcFrozen.
stepComponent
final
StepComponent
stepComponent
Field stepComponent.
benchmarking
final
boolean
benchmarking
Field benchmarking.
start
final
long
start
Field start.
ref
final
Ref
ref
Field ref.
activeMotionController
final
MotionController
activeMotionController
Field activeMotionController.
entitySupport
final
EntitySupport
entitySupport
Field entitySupport.
debugDisplay
final
RoleDebugDisplay
debugDisplay
Field debugDisplay.
Method Detail
RoleActivateSystem
Method RoleActivateSystem.
- Parameters:
@Nonnull final ComponentTypenpcComponentType
SystemDependency
public
new
SystemDependency
(Order.AFTER, BalancingInitialisationSystem.class)
Method SystemDependency.
- Parameters:
Order.AFTEROrder.AFTERBalancingInitialisationSystem.classBalancingInitialisationSystem.class
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
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
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
PreBehaviourSupportTickSystem
Method PreBehaviourSupportTickSystem.
- Parameters:
@Nonnull final ComponentTypenpcComponentType
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
steppedTick
public
void
steppedTick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method steppedTick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
BehaviourTickSystem
public
public
BehaviourTickSystem
(@Nonnull final ComponentType npcComponentType, @Nonnull final ComponentType stepComponentType)
Method BehaviourTickSystem.
- Parameters:
@Nonnull final ComponentTypenpcComponentType@Nonnull final ComponentTypestepComponentType
PostBehaviourSupportTickSystem
Method PostBehaviourSupportTickSystem.
- Parameters:
@Nonnull final ComponentTypenpcComponentType
RoleDebugSystem
public
public
RoleDebugSystem
(@Nonnull final ComponentType npcComponentType, @Nonnull final Set> dependencies)
Method RoleDebugSystem.
- Parameters:
@Nonnull final ComponentTypenpcComponentType@Nonnull final Setdependencies>