net.minecraft.world.level.saveddata.maps

public record MapDecoration

epg
net.minecraft.world.level.saveddata.maps.MapDecoration
net.minecraft.class_20
net.minecraft.item.map.MapDecoration
net.minecraft.src.C_2767_
net.minecraft.world.level.saveddata.maps.MapIcon

Field summary

Modifier and TypeField
private final Holder<MapDecorationType>
b
type
comp_1842
type
f_77791_
private final byte
c
x
comp_1843
x
f_77792_
private final byte
d
y
comp_1844
z
f_77793_
private final byte
e
rot
comp_1845
rotation
f_77794_
private final Optional<Component>
f
name
comp_1846
name
f_77795_
public static final StreamCodec<RegistryFriendlyByteBuf, MapDecoration>
a
STREAM_CODEC
field_48920
CODEC
f_314705_

Constructor summary

ModifierConstructor
public (Holder<MapDecorationType> x, byte x, byte z, byte rotation, Optional<Component> arg4)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getSpriteLocation()
method_58451()
getAssetId()
m_318661_()
public boolean
b()
renderOnFrame()
method_94()
isAlwaysRendered()
m_77809_()
public Holder<MapDecorationType>
c()
type()
comp_1842()
type()
f_77791_()
public byte
d()
x()
comp_1843()
x()
f_77792_()
public byte
e()
y()
comp_1844()
z()
f_77793_()
public byte
f()
rot()
comp_1845()
rotation()
f_77794_()
public Optional<Component>
g()
name()
comp_1846()
name()
f_77795_()