Class FakeLevelChunkSection
java.lang.Object
net.minecraft.world.level.chunk.LevelChunkSection
com.ldtteam.structurize.client.fakelevel.FakeLevelChunkSection
public class FakeLevelChunkSection
extends net.minecraft.world.level.chunk.LevelChunkSection
Porting: class is relatively small, just check super class manually (all of missing methods are/were just aliases)
-
Field Summary
Fields inherited from class net.minecraft.world.level.chunk.LevelChunkSection
BIOME_CONTAINER_BITS, SECTION_HEIGHT, SECTION_SIZE, SECTION_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacquire()voidfillBiomesFromNoise(net.minecraft.world.level.biome.BiomeResolver p_282075_, net.minecraft.world.level.biome.Climate.Sampler p_283084_, int p_282310_, int p_281510_, int p_283057_) net.minecraft.world.level.chunk.PalettedContainerRO<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>>net.minecraft.world.level.block.state.BlockStategetBlockState(int x, int y, int z) net.minecraft.world.level.material.FluidStategetFluidState(int x, int y, int z) net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>getNoiseBiome(int x, int y, int z) intnet.minecraft.world.level.chunk.PalettedContainer<net.minecraft.world.level.block.state.BlockState>booleanbooleanbooleanbooleanbooleanvoidread(net.minecraft.network.FriendlyByteBuf p_63005_) voidreadBiomes(net.minecraft.network.FriendlyByteBuf p_275669_) voidvoidrelease()net.minecraft.world.level.block.state.BlockStatesetBlockState(int x, int y, int z, net.minecraft.world.level.block.state.BlockState p_62995_, boolean p_62996_) voidwrite(net.minecraft.network.FriendlyByteBuf p_63012_) Methods inherited from class net.minecraft.world.level.chunk.LevelChunkSection
setBlockState
-
Constructor Details
-
FakeLevelChunkSection
- Parameters:
fakeChunk- parent chunkyIdx- yLevel in chunk, multiply by section height
-
-
Method Details
-
setBlockState
public net.minecraft.world.level.block.state.BlockState setBlockState(int x, int y, int z, net.minecraft.world.level.block.state.BlockState p_62995_, boolean p_62996_) - Overrides:
setBlockStatein classnet.minecraft.world.level.chunk.LevelChunkSection
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(int x, int y, int z) - Overrides:
getBlockStatein classnet.minecraft.world.level.chunk.LevelChunkSection
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(int x, int y, int z) - Overrides:
getFluidStatein classnet.minecraft.world.level.chunk.LevelChunkSection
-
getNoiseBiome
public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getNoiseBiome(int x, int y, int z) - Overrides:
getNoiseBiomein classnet.minecraft.world.level.chunk.LevelChunkSection
-
getBiomes
public net.minecraft.world.level.chunk.PalettedContainerRO<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>> getBiomes()- Overrides:
getBiomesin classnet.minecraft.world.level.chunk.LevelChunkSection
-
getStates
public net.minecraft.world.level.chunk.PalettedContainer<net.minecraft.world.level.block.state.BlockState> getStates()- Overrides:
getStatesin classnet.minecraft.world.level.chunk.LevelChunkSection
-
hasOnlyAir
public boolean hasOnlyAir()- Overrides:
hasOnlyAirin classnet.minecraft.world.level.chunk.LevelChunkSection
-
isRandomlyTicking
public boolean isRandomlyTicking()- Overrides:
isRandomlyTickingin classnet.minecraft.world.level.chunk.LevelChunkSection
-
isRandomlyTickingBlocks
public boolean isRandomlyTickingBlocks()- Overrides:
isRandomlyTickingBlocksin classnet.minecraft.world.level.chunk.LevelChunkSection
-
isRandomlyTickingFluids
public boolean isRandomlyTickingFluids()- Overrides:
isRandomlyTickingFluidsin classnet.minecraft.world.level.chunk.LevelChunkSection
-
maybeHas
- Overrides:
maybeHasin classnet.minecraft.world.level.chunk.LevelChunkSection
-
getSerializedSize
public int getSerializedSize()- Overrides:
getSerializedSizein classnet.minecraft.world.level.chunk.LevelChunkSection
-
read
public void read(net.minecraft.network.FriendlyByteBuf p_63005_) - Overrides:
readin classnet.minecraft.world.level.chunk.LevelChunkSection
-
readBiomes
public void readBiomes(net.minecraft.network.FriendlyByteBuf p_275669_) - Overrides:
readBiomesin classnet.minecraft.world.level.chunk.LevelChunkSection
-
recalcBlockCounts
public void recalcBlockCounts()- Overrides:
recalcBlockCountsin classnet.minecraft.world.level.chunk.LevelChunkSection
-
release
public void release()- Overrides:
releasein classnet.minecraft.world.level.chunk.LevelChunkSection
-
acquire
public void acquire()- Overrides:
acquirein classnet.minecraft.world.level.chunk.LevelChunkSection
-
fillBiomesFromNoise
public void fillBiomesFromNoise(net.minecraft.world.level.biome.BiomeResolver p_282075_, net.minecraft.world.level.biome.Climate.Sampler p_283084_, int p_282310_, int p_281510_, int p_283057_) - Overrides:
fillBiomesFromNoisein classnet.minecraft.world.level.chunk.LevelChunkSection
-
write
public void write(net.minecraft.network.FriendlyByteBuf p_63012_) - Overrides:
writein classnet.minecraft.world.level.chunk.LevelChunkSection
-