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
    Constructor
    Description
    FakeLevelChunkSection(FakeChunk fakeChunk, int yIdx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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_)
     
    net.minecraft.world.level.chunk.PalettedContainerRO<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>>
     
    net.minecraft.world.level.block.state.BlockState
    getBlockState(int x, int y, int z)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(int x, int y, int z)
     
    net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>
    getNoiseBiome(int x, int y, int z)
     
    int
     
    net.minecraft.world.level.chunk.PalettedContainer<net.minecraft.world.level.block.state.BlockState>
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    maybeHas(Predicate<net.minecraft.world.level.block.state.BlockState> p_63003_)
     
    void
    read(net.minecraft.network.FriendlyByteBuf p_63005_)
     
    void
    readBiomes(net.minecraft.network.FriendlyByteBuf p_275669_)
     
    void
     
    void
     
    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_)
     
    void
    write(net.minecraft.network.FriendlyByteBuf p_63012_)
     

    Methods inherited from class net.minecraft.world.level.chunk.LevelChunkSection

    setBlockState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FakeLevelChunkSection

      public FakeLevelChunkSection(FakeChunk fakeChunk, int yIdx)
      Parameters:
      fakeChunk - parent chunk
      yIdx - 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:
      setBlockState in class net.minecraft.world.level.chunk.LevelChunkSection
    • getBlockState

      public net.minecraft.world.level.block.state.BlockState getBlockState(int x, int y, int z)
      Overrides:
      getBlockState in class net.minecraft.world.level.chunk.LevelChunkSection
    • getFluidState

      public net.minecraft.world.level.material.FluidState getFluidState(int x, int y, int z)
      Overrides:
      getFluidState in class net.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:
      getNoiseBiome in class net.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:
      getBiomes in class net.minecraft.world.level.chunk.LevelChunkSection
    • getStates

      public net.minecraft.world.level.chunk.PalettedContainer<net.minecraft.world.level.block.state.BlockState> getStates()
      Overrides:
      getStates in class net.minecraft.world.level.chunk.LevelChunkSection
    • hasOnlyAir

      public boolean hasOnlyAir()
      Overrides:
      hasOnlyAir in class net.minecraft.world.level.chunk.LevelChunkSection
    • isRandomlyTicking

      public boolean isRandomlyTicking()
      Overrides:
      isRandomlyTicking in class net.minecraft.world.level.chunk.LevelChunkSection
    • isRandomlyTickingBlocks

      public boolean isRandomlyTickingBlocks()
      Overrides:
      isRandomlyTickingBlocks in class net.minecraft.world.level.chunk.LevelChunkSection
    • isRandomlyTickingFluids

      public boolean isRandomlyTickingFluids()
      Overrides:
      isRandomlyTickingFluids in class net.minecraft.world.level.chunk.LevelChunkSection
    • maybeHas

      public boolean maybeHas(Predicate<net.minecraft.world.level.block.state.BlockState> p_63003_)
      Overrides:
      maybeHas in class net.minecraft.world.level.chunk.LevelChunkSection
    • getSerializedSize

      public int getSerializedSize()
      Overrides:
      getSerializedSize in class net.minecraft.world.level.chunk.LevelChunkSection
    • read

      public void read(net.minecraft.network.FriendlyByteBuf p_63005_)
      Overrides:
      read in class net.minecraft.world.level.chunk.LevelChunkSection
    • readBiomes

      public void readBiomes(net.minecraft.network.FriendlyByteBuf p_275669_)
      Overrides:
      readBiomes in class net.minecraft.world.level.chunk.LevelChunkSection
    • recalcBlockCounts

      public void recalcBlockCounts()
      Overrides:
      recalcBlockCounts in class net.minecraft.world.level.chunk.LevelChunkSection
    • release

      public void release()
      Overrides:
      release in class net.minecraft.world.level.chunk.LevelChunkSection
    • acquire

      public void acquire()
      Overrides:
      acquire in class net.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:
      fillBiomesFromNoise in class net.minecraft.world.level.chunk.LevelChunkSection
    • write

      public void write(net.minecraft.network.FriendlyByteBuf p_63012_)
      Overrides:
      write in class net.minecraft.world.level.chunk.LevelChunkSection