Class FlatLayerInfo

java.lang.Object
net.minecraft.world.level.levelgen.flat.FlatLayerInfo

public class FlatLayerInfo extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<FlatLayerInfo> CODEC
    • block

      private final Block block
    • height

      private final int height
  • Constructor Details

    • FlatLayerInfo

      public FlatLayerInfo(int p_70335_, Block p_70336_)
  • Method Details

    • getHeight

      public int getHeight()
    • getBlockState

      public BlockState getBlockState()
    • toString

      public String toString()
      Overrides:
      toString in class Object