net.minecraft.world.level.saveddata.maps

public record MapDecoration

evl
net.minecraft.world.level.saveddata.maps.MapDecoration
net.minecraft.class_20
net.minecraft.item.map.MapDecoration
net.minecraft.world.level.saveddata.maps.MapIcon

Field summary

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

Constructor summary

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

Method summary

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