Interface VariantBlock
public interface VariantBlock
Interface for blocks that have variants.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.block.BlockReturns 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
-