Class FarmingSystems.Ticking
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.tick.TickingSystem<ChunkStore>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<ChunkStore>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<ChunkStore>
com.hypixel.hytale.builtin.adventure.farming.FarmingSystems.Ticking
- All Implemented Interfaces:
ISystem<ChunkStore>,QuerySystem<ChunkStore>,TickableSystem<ChunkStore>
- Enclosing class:
FarmingSystems
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()voidtick(float dt, int index, ArchetypeChunk<ChunkStore> archetypeChunk, Store<ChunkStore> store, CommandBuffer<ChunkStore> commandBuffer) private static voidtickCoop(CommandBuffer<ChunkStore> commandBuffer, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk blockComponentChunk, Ref<ChunkStore> blockRef, CoopBlock coopBlock) private static voidtickSoil(CommandBuffer<ChunkStore> commandBuffer, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk blockComponentChunk, Ref<ChunkStore> blockRef, TilledSoilBlock soilBlock) Methods inherited from class com.hypixel.hytale.component.system.tick.EntityTickingSystem
doTick, isParallel, maybeUseParallel, tick, useParallelMethods inherited from class com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem
isExplicitQuery, test, tickMethods 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, onSystemUnregistered
-
Field Details
-
QUERY
-
-
Constructor Details
-
Ticking
public Ticking()
-
-
Method Details
-
tick
public void tick(float dt, int index, @Nonnull ArchetypeChunk<ChunkStore> archetypeChunk, @Nonnull Store<ChunkStore> store, @Nonnull CommandBuffer<ChunkStore> commandBuffer) - Specified by:
tickin classEntityTickingSystem<ChunkStore>
-
tickSoil
private static void tickSoil(CommandBuffer<ChunkStore> commandBuffer, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk blockComponentChunk, Ref<ChunkStore> blockRef, TilledSoilBlock soilBlock) -
tickCoop
private static void tickCoop(CommandBuffer<ChunkStore> commandBuffer, com.hypixel.hytale.server.core.universe.world.chunk.BlockComponentChunk blockComponentChunk, Ref<ChunkStore> blockRef, CoopBlock coopBlock) -
getQuery
-