Class RepulsionSystems.PlayerSetup
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.HolderSystem<EntityStore>
com.hypixel.hytale.server.core.modules.entity.repulsion.RepulsionSystems.PlayerSetup
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
- Enclosing class:
RepulsionSystems
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<EntityStore, Repulsion> private final Query<EntityStore> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionPlayerSetup(ComponentType<EntityStore, Repulsion> componentType, ComponentType<EntityStore, Player> playerComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonEntityAdd(Holder<EntityStore> holder, AddReason reason, Store<EntityStore> store) voidonEntityRemoved(Holder<EntityStore> holder, RemoveReason reason, Store<EntityStore> store) 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
-
componentType
-
query
-
-
Constructor Details
-
PlayerSetup
public PlayerSetup(ComponentType<EntityStore, Repulsion> componentType, ComponentType<EntityStore, Player> playerComponentType)
-
-
Method Details
-
getQuery
-
onEntityAdd
public void onEntityAdd(@Nonnull Holder<EntityStore> holder, @Nonnull AddReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityAddin classHolderSystem<EntityStore>
-
onEntityRemoved
public void onEntityRemoved(@Nonnull Holder<EntityStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityRemovedin classHolderSystem<EntityStore>
-