Class RechiseledBlockTypeImpl
java.lang.Object
com.supermartijn642.rechiseled.blocks.RechiseledBlockTypeImpl
- All Implemented Interfaces:
RechiseledBlockType
Created 18/04/2023 by SuperMartijn642
-
Constructor Summary
ConstructorsConstructorDescriptionRechiseledBlockTypeImpl(net.minecraft.resources.ResourceLocation identifier, BlockSpecification specification, boolean hasRegularVariant, boolean hasConnectingVariant, Supplier<net.minecraft.world.level.block.Block> regularBlock, Supplier<net.minecraft.world.level.block.Block> connectingBlock, Supplier<net.minecraft.world.item.BlockItem> regularItem, Supplier<net.minecraft.world.item.BlockItem> connectingItem) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.Blocknet.minecraft.world.item.BlockItemnet.minecraft.resources.ResourceLocationnet.minecraft.world.level.block.Blocknet.minecraft.world.item.BlockItembooleanboolean
-
Constructor Details
-
RechiseledBlockTypeImpl
public RechiseledBlockTypeImpl(net.minecraft.resources.ResourceLocation identifier, BlockSpecification specification, boolean hasRegularVariant, boolean hasConnectingVariant, Supplier<net.minecraft.world.level.block.Block> regularBlock, Supplier<net.minecraft.world.level.block.Block> connectingBlock, Supplier<net.minecraft.world.item.BlockItem> regularItem, Supplier<net.minecraft.world.item.BlockItem> connectingItem)
-
-
Method Details
-
getIdentifier
public net.minecraft.resources.ResourceLocation getIdentifier() -
getSpecification
-
hasRegularVariant
public boolean hasRegularVariant()- Specified by:
hasRegularVariantin interfaceRechiseledBlockType
-
getRegularBlock
public net.minecraft.world.level.block.Block getRegularBlock()- Specified by:
getRegularBlockin interfaceRechiseledBlockType
-
getConnectingBlock
public net.minecraft.world.level.block.Block getConnectingBlock()- Specified by:
getConnectingBlockin interfaceRechiseledBlockType
-
getRegularItem
public net.minecraft.world.item.BlockItem getRegularItem()- Specified by:
getRegularItemin interfaceRechiseledBlockType
-
hasConnectingVariant
public boolean hasConnectingVariant()- Specified by:
hasConnectingVariantin interfaceRechiseledBlockType
-
getConnectingItem
public net.minecraft.world.item.BlockItem getConnectingItem()- Specified by:
getConnectingItemin interfaceRechiseledBlockType
-