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