net.minecraft.block.entity

public class DecoratedPotBlockEntity

extends BlockEntity implements SingleStackInventory$SingleStackBlockEntityInventory, LootableInventory

All mapped superinterfaces:

DebugTrackable, EntryConvertible, SingleStackInventory$SingleStackBlockEntityInventory, SingleStackInventory, Inventory, Clearable, StackReferenceGetter, LootableInventory

net.minecraft.world.level.block.entity.DecoratedPotBlockEntity
net.minecraft.class_8172
net.minecraft.block.entity.DecoratedPotBlockEntity

Field summary

Modifier and TypeField
public static final String
TAG_SHERDS
field_42782
SHERDS_NBT_KEY
public static final String
TAG_ITEM
field_46659
ITEM_NBT_KEY
public static final int
EVENT_POT_WOBBLES
field_46660
field_46660
public long
wobbleStartedAtTick
field_46661
lastWobbleTime
public DecoratedPotBlockEntity$WobbleType
lastWobbleStyle
field_46662
lastWobbleType
private Sherds
decorations
field_44706
sherds
private ItemStack
item
field_46663
stack
protected RegistryKey<LootTable>
lootTable
field_47156
lootTableId
protected long
lootTableSeed
field_47157
lootTableSeed

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
public BlockEntityUpdateS2CPacket
getUpdatePacket()
method_38235()
toUpdatePacket()
public NbtCompound
getUpdateTag(HolderLookup$Provider registries)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryView$WrapperLookup arg0)
public Direction
getDirection()
method_49204()
getHorizontalFacing()
public Sherds
getDecorations()
method_51511()
getSherds()
public static SimpleItemStackView
createDecoratedPotTemplate(PotDecorations decorations)
method_1_1129(class_8526 arg0)
asItemInstance(Sherds sherds)
public static ItemStack
createDecoratedPotInstance(PotDecorations decorations)
method_1_1128(class_8526 arg0)
asItemStack(Sherds sherds)
public RegistryKey<LootTable>
getLootTable()
method_54869()
getLootTable()
public void
setLootTable(ResourceKey<LootTable> lootTable)
method_11285(class_5321<class_52> arg0)
setLootTable(RegistryKey<LootTable> arg0)
public long
getLootTableSeed()
method_54870()
getLootTableSeed()
public void
setLootTableSeed(long lootTableSeed)
method_54866(long arg0)
setLootTableSeed(long arg0)
protected void
collectImplicitComponents(DataComponentMap$Builder components)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
protected void
applyImplicitComponents(DataComponentGetter components)
method_57568(class_9473 arg0)
readComponents(ComponentsAccess arg0)
public void
removeComponentsFromTag(ValueOutput output)
method_57569(class_11372 arg0)
removeFromCopiedStackData(WriteView arg0)
public ItemStack
getTheItem()
method_54079()
getStack()
public ItemStack
splitTheItem(int count)
method_54078(int arg0)
decreaseStack(int arg0)
public void
setTheItem(ItemStack itemStack)
method_54077(class_1799 arg0)
setStack(ItemStack arg0)
public BlockEntity
getContainerBlockEntity()
method_54080()
asBlockEntity()
public void
wobble(DecoratedPotBlockEntity$WobbleStyle wobbleStyle)
method_54301(class_8172$class_8837 arg0)
wobble(DecoratedPotBlockEntity$WobbleType wobbleType)
public boolean
triggerEvent(int event, int data)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
public Packet
getUpdatePacket()
method_38235()
toUpdatePacket()