net.minecraft.world.level.block.entity

public record PotDecorations

implements TooltipProvider

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

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<cyo> 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(tx arg0)
save(CompoundTag arg0)
method_51513(class_2487 arg0)
toNbt(NbtCompound nbt)
public List<Item>
a()
ordered()
method_51512()
toList()
public static PotDecorations
b(tx arg0)
load(CompoundTag arg0)
method_51516(class_2487 arg0)
fromNbt(NbtCompound nbt)
public void
a(cyo$b arg0, Consumer<ww> arg1, dah arg2, ke arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
private static void
a(Consumer<ww> arg0, Optional<cyo> arg1)
addSideDetailsToTooltip(Consumer<Component> arg0, Optional<Item> arg1)
method_67242(Consumer<class_2561> arg0, Optional<class_1792> arg1)
method_67242(Consumer<Text> arg0, Optional<Item> arg1)
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()