Class EntityInteractableSystems.EntityTrackerAddAndRemove
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.RefChangeSystem<EntityStore,Interactable>
com.hypixel.hytale.server.core.modules.entity.system.EntityInteractableSystems.EntityTrackerAddAndRemove
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
- Enclosing class:
EntityInteractableSystems
public static class EntityInteractableSystems.EntityTrackerAddAndRemove
extends RefChangeSystem<EntityStore,Interactable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, Interactable> private final Query<EntityStore> private final ComponentType<EntityStore, EntityTrackerSystems.Visible> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEntityTrackerAddAndRemove(ComponentType<EntityStore, EntityTrackerSystems.Visible> visibleComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonComponentAdded(Ref<EntityStore> ref, Interactable component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentRemoved(Ref<EntityStore> ref, Interactable component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentSet(Ref<EntityStore> ref, Interactable oldComponent, Interactable newComponent, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) 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
-
interactableComponentType
-
visibleComponentType
-
query
-
-
Constructor Details
-
EntityTrackerAddAndRemove
public EntityTrackerAddAndRemove(ComponentType<EntityStore, EntityTrackerSystems.Visible> visibleComponentType)
-
-
Method Details
-
getQuery
-
componentType
- Specified by:
componentTypein classRefChangeSystem<EntityStore,Interactable>
-
onComponentAdded
public void onComponentAdded(@Nonnull Ref<EntityStore> ref, @Nonnull Interactable component, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentAddedin classRefChangeSystem<EntityStore,Interactable>
-
onComponentSet
public void onComponentSet(@Nonnull Ref<EntityStore> ref, Interactable oldComponent, @Nonnull Interactable newComponent, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentSetin classRefChangeSystem<EntityStore,Interactable>
-
onComponentRemoved
public void onComponentRemoved(@Nonnull Ref<EntityStore> ref, @Nonnull Interactable component, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentRemovedin classRefChangeSystem<EntityStore,Interactable>
-