Class ExpandDecoratedPotBlockEntity

java.lang.Object
com.blamejared.crafttweaker.natives.block.entity.type.ExpandDecoratedPotBlockEntity

@ZenRegister public class ExpandDecoratedPotBlockEntity extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.