Interface VariantBlock


public interface VariantBlock
Interface for blocks that have variants.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.block.Block
    Returns the block used for the variant (e.g.
  • Method Details

    • getVariant

      net.minecraft.block.Block getVariant()
      Returns the block used for the variant (e.g. wooden shelf returns the wood type)
      Returns:
      block used for variant