Class ChunkSuppressionSystems.ChunkAdded
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.RefSystem<ChunkStore>
com.hypixel.hytale.server.spawning.suppression.system.ChunkSuppressionSystems.ChunkAdded
- All Implemented Interfaces:
ISystem<ChunkStore>,QuerySystem<ChunkStore>
- Enclosing class:
ChunkSuppressionSystems
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentType<ChunkStore, ChunkSuppressionEntry> private static final ComponentType<ChunkStore, BlockChunk> private final ResourceType<EntityStore, SpawnSuppressionController> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionChunkAdded(ComponentType<ChunkStore, ChunkSuppressionEntry> chunkSuppressionEntryComponentType, ResourceType<EntityStore, SpawnSuppressionController> spawnSuppressionControllerResourceType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidonEntityAdded(Ref<ChunkStore> reference, AddReason reason, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer) voidonEntityRemove(Ref<ChunkStore> reference, RemoveReason reason, Store<ChunkStore> store, CommandBuffer<ChunkStore> 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
-
COMPONENT_TYPE
-
chunkSuppressionEntryComponentType
-
spawnSuppressionControllerResourceType
private final ResourceType<EntityStore,SpawnSuppressionController> spawnSuppressionControllerResourceType
-
-
Constructor Details
-
ChunkAdded
public ChunkAdded(ComponentType<ChunkStore, ChunkSuppressionEntry> chunkSuppressionEntryComponentType, ResourceType<EntityStore, SpawnSuppressionController> spawnSuppressionControllerResourceType)
-
-
Method Details
-
getQuery
-
onEntityAdded
public void onEntityAdded(@Nonnull Ref<ChunkStore> reference, @Nonnull AddReason reason, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
onEntityAddedin classRefSystem<ChunkStore>
-
onEntityRemove
public void onEntityRemove(@Nonnull Ref<ChunkStore> reference, @Nonnull RemoveReason reason, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
onEntityRemovein classRefSystem<ChunkStore>
-