net.minecraft.world.level.block.entity

public record BannerPattern

doz
net.minecraft.world.level.block.entity.BannerPattern
net.minecraft.class_2582
net.minecraft.block.entity.BannerPattern
net.minecraft.src.C_1977_
net.minecraft.world.level.block.entity.EnumBannerPatternType

Field summary

Modifier and TypeField
private final ResourceLocation
e
assetId
comp_2456
assetId
f_316056_
private final String
f
translationKey
comp_2457
translationKey
f_315615_
public static final com.mojang.serialization.Codec<BannerPattern>
a
DIRECT_CODEC
field_49757
CODEC
f_316004_
public static final StreamCodec<RegistryFriendlyByteBuf, BannerPattern>
b
DIRECT_STREAM_CODEC
field_49758
PACKET_CODEC
f_316459_
public static final com.mojang.serialization.Codec<Holder<BannerPattern>>
c
CODEC
field_49759
ENTRY_CODEC
f_316089_
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<BannerPattern>>
d
STREAM_CODEC
field_49760
ENTRY_PACKET_CODEC
f_316922_

Constructor summary

ModifierConstructor
public (ResourceLocation translationKey, String arg1)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
assetId()
comp_2456()
assetId()
f_316056_()
public String
b()
translationKey()
comp_2457()
translationKey()
f_315615_()