Class ModelSystems.UpdateBoundingBox
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.RefChangeSystem<EntityStore,ModelComponent>
com.hypixel.hytale.server.core.modules.entity.system.ModelSystems.UpdateBoundingBox
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
- Enclosing class:
ModelSystems
public static class ModelSystems.UpdateBoundingBox
extends RefChangeSystem<EntityStore,ModelComponent>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, BoundingBox> private final ComponentType<EntityStore, ModelComponent> private final ComponentType<EntityStore, MovementStatesComponent> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonComponentAdded(Ref<EntityStore> ref, ModelComponent component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentRemoved(Ref<EntityStore> ref, ModelComponent component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentSet(Ref<EntityStore> ref, ModelComponent oldComponent, ModelComponent newComponent, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) protected static voidupdateBoundingBox(Model model, BoundingBox boundingBox, MovementStates movementStates) protected static voidupdateBoundingBox(Model model, BoundingBox boundingBox, MovementStatesComponent movementStatesComponent) Methods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
test
-
Field Details
-
modelComponentType
-
boundingBoxComponentType
-
movementStatesComponentType
-
-
Constructor Details
-
UpdateBoundingBox
public UpdateBoundingBox()
-
-
Method Details
-
getQuery
-
componentType
- Specified by:
componentTypein classRefChangeSystem<EntityStore,ModelComponent>
-
onComponentAdded
public void onComponentAdded(@Nonnull Ref<EntityStore> ref, @Nonnull ModelComponent component, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentAddedin classRefChangeSystem<EntityStore,ModelComponent>
-
onComponentSet
public void onComponentSet(@Nonnull Ref<EntityStore> ref, ModelComponent oldComponent, @Nonnull ModelComponent newComponent, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentSetin classRefChangeSystem<EntityStore,ModelComponent>
-
onComponentRemoved
public void onComponentRemoved(@Nonnull Ref<EntityStore> ref, @Nonnull ModelComponent component, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentRemovedin classRefChangeSystem<EntityStore,ModelComponent>
-
updateBoundingBox
protected static void updateBoundingBox(@Nonnull Model model, @Nonnull BoundingBox boundingBox, @Nullable MovementStatesComponent movementStatesComponent) -
updateBoundingBox
protected static void updateBoundingBox(@Nonnull Model model, @Nonnull BoundingBox boundingBox, @Nullable MovementStates movementStates)
-