change: remove block and fluid scheduled tick access as it is unneeded
This commit is contained in:
+20
@@ -68,6 +68,13 @@ import com.google.common.collect.ImmutableList;
|
||||
import net.minecraft.server.level.GenerationChunkHolder;
|
||||
#endif
|
||||
|
||||
#if MC_VER >= MC_1_18_2
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.material.Fluid;
|
||||
import net.minecraft.world.ticks.BlackholeTickAccess;
|
||||
import net.minecraft.world.ticks.LevelTickAccess;
|
||||
#endif
|
||||
|
||||
|
||||
public class DhLitWorldGenRegion extends WorldGenRegion
|
||||
{
|
||||
@@ -193,6 +200,19 @@ public class DhLitWorldGenRegion extends WorldGenRegion
|
||||
}
|
||||
#endif
|
||||
|
||||
#if MC_VER >= MC_1_18_2
|
||||
@Override
|
||||
public LevelTickAccess<Block> getBlockTicks()
|
||||
{
|
||||
return BlackholeTickAccess.emptyLevelList();
|
||||
}
|
||||
@Override
|
||||
public LevelTickAccess<Fluid> getFluidTicks()
|
||||
{
|
||||
return BlackholeTickAccess.emptyLevelList();
|
||||
}
|
||||
#endif
|
||||
|
||||
// TODO Check this
|
||||
// @Override
|
||||
// public List<? extends StructureStart<?>> startsForFeature(SectionPos sectionPos,
|
||||
|
||||
Reference in New Issue
Block a user