net.minecraft.world.level.block.entity

public record PotDecorations

dwe
net.minecraft.world.level.block.entity.PotDecorations
net.minecraft.class_8526
net.minecraft.block.entity.Sherds
net.minecraft.world.level.block.entity.PotDecorations

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static Optional<Item>
a(List<cxl> arg0, int arg1)
getItem(List<Item> arg0, int arg1)
method_51514(List<class_1792> arg0, int arg1)
getSherd(List<Item> sherds, int index)
public CompoundTag
a(ux arg0)
save(CompoundTag arg0)
method_51513(class_2487 arg0)
toNbt(NbtCompound nbt)
public List<Item>
a()
ordered()
method_51512()
toList()
public static PotDecorations
b(ux arg0)
load(CompoundTag arg0)
method_51516(class_2487 arg0)
fromNbt(NbtCompound nbt)
public Optional<Item>
b()
back()
comp_1487()
back()
public Optional<Item>
c()
left()
comp_1488()
left()
public Optional<Item>
d()
right()
comp_1489()
right()
public Optional<Item>
e()
front()
comp_1490()
front()