/* * Decompiled with CFR 0.152. */ package net.minecraft.world.ticks; import net.minecraft.core.BlockPos; import net.minecraft.world.ticks.LevelTickAccess; import net.minecraft.world.ticks.ScheduledTick; import net.minecraft.world.ticks.TickContainerAccess; public class BlackholeTickAccess { private static final TickContainerAccess CONTAINER_BLACKHOLE = new TickContainerAccess(){ @Override public void schedule(ScheduledTick tick) { } @Override public boolean hasScheduledTick(BlockPos pos, Object type) { return false; } @Override public int count() { return 0; } }; private static final LevelTickAccess LEVEL_BLACKHOLE = new LevelTickAccess(){ @Override public void schedule(ScheduledTick tick) { } @Override public boolean hasScheduledTick(BlockPos pos, Object type) { return false; } @Override public boolean willTickThisTick(BlockPos pos, Object type) { return false; } @Override public int count() { return 0; } }; public static TickContainerAccess emptyContainer() { return CONTAINER_BLACKHOLE; } public static LevelTickAccess emptyLevelList() { return LEVEL_BLACKHOLE; } }