net.minecraft.world.level.block.entity

public class DecoratedPotBlockEntity

extends BlockEntity

czr
net.minecraft.world.level.block.entity.DecoratedPotBlockEntity
net.minecraft.class_8172
net.minecraft.block.entity.DecoratedPotBlockEntity
net.minecraft.src.C_271080_
net.minecraft.world.level.block.entity.DecoratedPotBlockEntity

Field summary

Modifier and TypeField
private static final String
a
TAG_SHARDS
field_42782
SHARDS_NBT_KEY
f_271111_
private static final int
b
SHARDS_IN_POT
field_42783
field_42783
f_271341_
private boolean
c
isBroken
field_42784
dropNothing
f_271362_
private final List<Item>
d
shards
field_42785
shards
f_271190_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(re arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(re arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_49200()
toUpdatePacket()
m_58483_()
public CompoundTag
aq_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public static void
a(List<cfq> arg0, re arg1)
saveShards(List<Item> arg0, CompoundTag arg1)
method_49199(List<class_1792> arg0, class_2487 arg1)
writeShardsToNbt(List<Item> shards, NbtCompound nbt)
m_271781_(List<C_1381_> p_273539_, C_4917_ p_272709_)
public ItemStack
d()
getItem()
method_49201()
asStack()
m_271950_()
public List<Item>
f()
getShards()
method_49202()
getShards()
m_272235_()
public void
a(cmi arg0, gt arg1, cfv arg2, bym arg3)
playerDestroy(Level arg0, BlockPos arg1, ItemStack arg2, Player arg3)
method_49197(class_1937 arg0, class_2338 arg1, class_1799 arg2, class_1657 arg3)
onBreak(World world, BlockPos pos, ItemStack tool, PlayerEntity player)
m_272064_(C_1596_ p_272740_, C_4675_ p_273113_, C_1391_ p_273574_, C_1141_ arg3)
public boolean
g()
isBroken()
method_49203()
shouldDropNothing()
m_271766_()
public Direction
i()
getDirection()
method_49204()
getHorizontalFacing()
m_271886_()
public void
a(cfv arg0)
setFromItem(ItemStack arg0)
method_49196(class_1799 arg0)
readNbtFromStack(ItemStack stack)
m_271870_(C_1391_ arg0)