net.minecraft.world.entity.decoration

public record PaintingVariant

ckz
net.minecraft.world.entity.decoration.PaintingVariant
net.minecraft.class_1535
net.minecraft.unmapped.C_gbaxbrwg
net.minecraft.entity.decoration.painting.PaintingVariant
net.minecraft.entity.decoration.painting.PaintingVariant
net.minecraft.src.C_213053_
net.minecraft.world.entity.decoration.PaintingVariant

Field summary

Modifier and TypeField
private final int
e
width
comp_2670
f_snhuitee
width
width
f_218903_
private final int
f
height
comp_2671
f_bqduxiyq
height
height
f_218904_
private final ResourceLocation
g
assetId
comp_2672
f_liyfxlbw
assetId
assetId
f_337196_
private final Optional<Component>
h
title
comp_2918
f_qwfbeawt
title
title
f_349158_
private final Optional<Component>
i
author
comp_2919
f_xgqqsfpx
author
author
f_346995_
public static final com.mojang.serialization.Codec<PaintingVariant>
a
DIRECT_CODEC
field_51596
f_azsnvele
CODEC
DIRECT_CODEC
f_337224_
public static final StreamCodec<RegistryFriendlyByteBuf, PaintingVariant>
b
DIRECT_STREAM_CODEC
field_51945
f_dtfxxovq
PACKET_CODEC
DIRECT_PACKET_CODEC
f_337493_
public static final com.mojang.serialization.Codec<Holder<PaintingVariant>>
c
CODEC
field_51597
f_dfoybqqo
ENTRY_CODEC
CODEC
f_336938_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>>
d
STREAM_CODEC
field_51946
f_dkvvcxps
ENTRY_PACKET_CODEC
PACKET_CODEC
f_337529_

Constructor summary

ModifierConstructor
public (int width, int height, ResourceLocation id, Optional<Component> title, Optional<Component> author)

Method summary

Modifier and TypeMethod
public int
a()
area()
method_59947()
m_ghrmnkpe()
getArea()
getArea()
m_340052_()
public int
b()
width()
comp_2670()
m_vkckauna()
width()
width()
f_218903_()
public int
c()
height()
comp_2671()
m_tbyphunh()
height()
height()
f_218904_()
public ResourceLocation
d()
assetId()
comp_2672()
m_ragdfshx()
assetId()
assetId()
f_337196_()
public Optional<Component>
e()
title()
comp_2918()
m_qvgqkznn()
title()
title()
f_349158_()
public Optional<Component>
f()
author()
comp_2919()
m_oeyaqize()
author()
author()
f_346995_()