Class Chunk.BlockData

java.lang.Object
net.pl3x.map.core.world.Chunk.BlockData
Enclosing class:
Chunk

public static class Chunk.BlockData extends Object
  • Field Details

    • blockY

      protected int blockY
    • fluidY

      protected int fluidY
    • blockstate

      protected BlockState blockstate
    • fluidstate

      protected BlockState fluidstate
    • biome

      protected Biome biome
    • glass

      protected LinkedList<Integer> glass
  • Constructor Details

    • BlockData

      public BlockData()
  • Method Details

    • of

      public static Chunk.BlockData of(int blockY, int fluidY, BlockState blockstate, BlockState fluidstate, LinkedList<Integer> glass)
    • getBlockY

      public int getBlockY()
    • getFluidY

      public int getFluidY()
    • getBlockState

      @NotNull public @NotNull BlockState getBlockState()
    • getFluidState

      @Nullable public @Nullable BlockState getFluidState()
    • getBiome

      @NotNull public @NotNull Biome getBiome(@NotNull @NotNull Region region, int x, int z)
    • getGlassColors

      @NotNull public @NotNull List<Integer> getGlassColors()