net.minecraft.world.entity.decoration

public record PaintingVariant

ckz
net.minecraft.world.entity.decoration.PaintingVariant
net.minecraft.class_1535
net.minecraft.entity.decoration.painting.PaintingVariant
net.minecraft.world.entity.decoration.PaintingVariant

Field summary

Modifier and TypeField
private final int
e
width
comp_2670
width
private final int
f
height
comp_2671
height
private final ResourceLocation
g
assetId
comp_2672
assetId
private final Optional<Component>
h
title
comp_2918
title
private final Optional<Component>
i
author
comp_2919
author
public static final com.mojang.serialization.Codec<PaintingVariant>
a
DIRECT_CODEC
field_51596
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, PaintingVariant>
b
DIRECT_STREAM_CODEC
field_51945
PACKET_CODEC
public static final com.mojang.serialization.Codec<Holder<PaintingVariant>>
c
CODEC
field_51597
ENTRY_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>>
d
STREAM_CODEC
field_51946
ENTRY_PACKET_CODEC

Constructor summary

ModifierConstructor
public (int width, int height, ResourceLocation arg2, Optional<Component> arg3, Optional<Component> arg4)

Method summary

Modifier and TypeMethod
public int
a()
area()
method_59947()
getArea()
public int
b()
width()
comp_2670()
width()
public int
c()
height()
comp_2671()
height()
public ResourceLocation
d()
assetId()
comp_2672()
assetId()
public Optional<Component>
e()
title()
comp_2918()
title()
public Optional<Component>
f()
author()
comp_2919()
author()