Class ExpandDecoratedPotBlockEntity
java.lang.Object
com.blamejared.crafttweaker.natives.block.entity.type.ExpandDecoratedPotBlockEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.level.block.entity.PotDecorationsgetDecorations(net.minecraft.world.level.block.entity.DecoratedPotBlockEntity internal) Gets access to the decorations that make up the faces of the pot.static net.minecraft.world.item.ItemStackgetPotAsItem(net.minecraft.world.level.block.entity.DecoratedPotBlockEntity internal) Creates a new decorated pot item with a copy of the pots decorations.
-
Constructor Details
-
ExpandDecoratedPotBlockEntity
public ExpandDecoratedPotBlockEntity()
-
-
Method Details
-
getPotAsItem
public static net.minecraft.world.item.ItemStack getPotAsItem(net.minecraft.world.level.block.entity.DecoratedPotBlockEntity internal) Creates a new decorated pot item with a copy of the pots decorations. Additional data like the pots contained item or loot table are not copied.- Returns:
- A new decorated pot item with a copy of the pots decorations.
-
getDecorations
public static net.minecraft.world.level.block.entity.PotDecorations getDecorations(net.minecraft.world.level.block.entity.DecoratedPotBlockEntity internal) Gets access to the decorations that make up the faces of the pot.- Returns:
- The decorations used by the faces of the pot.
-