net.minecraft.world.level.block.entity

public record PotDecorations

drm
net.minecraft.world.level.block.entity.PotDecorations
net.minecraft.class_8526
net.minecraft.block.entity.Sherds
net.minecraft.src.C_313618_
net.minecraft.world.level.block.entity.PotDecorations

Field summary

Modifier and TypeField
private final Optional<Item>
d
back
comp_1487
back
f_316149_
private final Optional<Item>
e
left
comp_1488
left
f_315094_
private final Optional<Item>
f
right
comp_1489
right
f_315756_
private final Optional<Item>
g
front
comp_1490
front
f_314229_
public static final PotDecorations
a
EMPTY
field_44707
DEFAULT
f_316418_
public static final com.mojang.serialization.Codec<PotDecorations>
b
CODEC
field_49414
CODEC
f_314944_
public static final StreamCodec<RegistryFriendlyByteBuf, PotDecorations>
c
STREAM_CODEC
field_49415
PACKET_CODEC
f_315461_

Constructor summary

ModifierConstructor
private (List<Item> sherds)
public (Item back, Item left, Item right, Item front)
public (Optional<Item> left, Optional<Item> right, Optional<Item> front, Optional<Item> arg3)

Method summary

Modifier and TypeMethod
private static Optional<Item>
a(List<cul> arg0, int arg1)
getItem(List<Item> arg0, int arg1)
method_51514(List<class_1792> arg0, int arg1)
getSherd(List<Item> sherds, int index)
m_320791_(List<C_1381_> p_329359_, int p_331055_)
public CompoundTag
a(ub arg0)
save(CompoundTag arg0)
method_51513(class_2487 arg0)
toNbt(NbtCompound nbt)
m_319081_(C_4917_ arg0)
public List<Item>
a()
ordered()
method_51512()
stream()
m_324979_()
public static PotDecorations
b(ub arg0)
load(CompoundTag arg0)
method_51516(class_2487 arg0)
fromNbt(NbtCompound nbt)
m_319296_(C_4917_ p_334784_)
public Optional<Item>
b()
back()
comp_1487()
back()
f_316149_()
public Optional<Item>
c()
left()
comp_1488()
left()
f_315094_()
public Optional<Item>
d()
right()
comp_1489()
right()
f_315756_()
public Optional<Item>
e()
front()
comp_1490()
front()
f_314229_()