public class RechiseledBlockTypeImpl extends java.lang.Object implements RechiseledBlockType
| Constructor and Description |
|---|
RechiseledBlockTypeImpl(net.minecraft.util.ResourceLocation identifier,
BlockSpecification specification,
boolean hasRegularVariant,
boolean hasConnectingVariant,
java.util.function.Supplier<net.minecraft.block.Block> regularBlock,
java.util.function.Supplier<net.minecraft.block.Block> connectingBlock,
java.util.function.Supplier<net.minecraft.item.ItemBlock> regularItem,
java.util.function.Supplier<net.minecraft.item.ItemBlock> connectingItem) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.Block |
getConnectingBlock() |
net.minecraft.item.ItemBlock |
getConnectingItem() |
net.minecraft.util.ResourceLocation |
getIdentifier() |
net.minecraft.block.Block |
getRegularBlock() |
net.minecraft.item.ItemBlock |
getRegularItem() |
BlockSpecification |
getSpecification() |
boolean |
hasConnectingVariant() |
boolean |
hasRegularVariant() |
public RechiseledBlockTypeImpl(net.minecraft.util.ResourceLocation identifier,
BlockSpecification specification,
boolean hasRegularVariant,
boolean hasConnectingVariant,
java.util.function.Supplier<net.minecraft.block.Block> regularBlock,
java.util.function.Supplier<net.minecraft.block.Block> connectingBlock,
java.util.function.Supplier<net.minecraft.item.ItemBlock> regularItem,
java.util.function.Supplier<net.minecraft.item.ItemBlock> connectingItem)
public net.minecraft.util.ResourceLocation getIdentifier()
public BlockSpecification getSpecification()
public boolean hasRegularVariant()
hasRegularVariant in interface RechiseledBlockTypepublic net.minecraft.block.Block getRegularBlock()
getRegularBlock in interface RechiseledBlockTypepublic net.minecraft.block.Block getConnectingBlock()
getConnectingBlock in interface RechiseledBlockTypepublic net.minecraft.item.ItemBlock getRegularItem()
getRegularItem in interface RechiseledBlockTypepublic boolean hasConnectingVariant()
hasConnectingVariant in interface RechiseledBlockTypepublic net.minecraft.item.ItemBlock getConnectingItem()
getConnectingItem in interface RechiseledBlockType