net.minecraft.world.level.block.entity

public record BannerPattern

dun
net.minecraft.world.level.block.entity.BannerPattern
net.minecraft.class_2582
net.minecraft.block.entity.BannerPattern
net.minecraft.world.level.block.entity.EnumBannerPatternType

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceLocation arg0, String arg1)

Method summary

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