Uses of Record Class
net.minecraft.world.level.block.entity.BannerPattern
Packages that use BannerPattern
Package
Description
-
Uses of BannerPattern in net.minecraft.advancements.critereon
Method parameters in net.minecraft.advancements.critereon with type arguments of type BannerPatternModifier and TypeMethodDescriptionstatic EntityEquipmentPredicate
EntityEquipmentPredicate.captainPredicate
(HolderGetter<BannerPattern> pPatternRegistry) -
Uses of BannerPattern in net.minecraft.client.gui.screens.inventory
Method parameters in net.minecraft.client.gui.screens.inventory with type arguments of type BannerPatternModifier and TypeMethodDescriptionprivate void
LoomScreen.renderPattern
(GuiGraphics pGuiGraphics, Holder<BannerPattern> pPatern, int pX, int pY) -
Uses of BannerPattern in net.minecraft.client.renderer
Method parameters in net.minecraft.client.renderer with type arguments of type BannerPatternModifier and TypeMethodDescriptionstatic Material
Sheets.getBannerMaterial
(Holder<BannerPattern> pPattern) static Material
Sheets.getShieldMaterial
(Holder<BannerPattern> pPattern) -
Uses of BannerPattern in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type BannerPatternModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<BannerPattern>> Registries.BANNER_PATTERN
-
Uses of BannerPattern in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type BannerPatternModifier and TypeFieldDescriptionstatic final TagKey
<BannerPattern> BannerPatternTags.NO_ITEM_REQUIRED
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_CREEPER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_FLOW
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_FLOWER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_GLOBE
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_GUSTER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_MOJANG
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_PIGLIN
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_SKULL
Methods in net.minecraft.tags that return types with arguments of type BannerPattern -
Uses of BannerPattern in net.minecraft.world.entity.raid
Method parameters in net.minecraft.world.entity.raid with type arguments of type BannerPatternModifier and TypeMethodDescriptionstatic ItemStack
Raid.getLeaderBannerInstance
(HolderGetter<BannerPattern> pPatternRegistry) -
Uses of BannerPattern in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory with type parameters of type BannerPatternModifier and TypeFieldDescriptionprivate final HolderGetter
<BannerPattern> LoomMenu.patternGetter
private List
<Holder<BannerPattern>> LoomMenu.selectablePatterns
Methods in net.minecraft.world.inventory that return types with arguments of type BannerPatternModifier and TypeMethodDescriptionLoomMenu.getSelectablePatterns()
private List
<Holder<BannerPattern>> LoomMenu.getSelectablePatterns
(ItemStack pStack) Method parameters in net.minecraft.world.inventory with type arguments of type BannerPatternModifier and TypeMethodDescriptionprivate void
LoomMenu.setupResultSlot
(Holder<BannerPattern> pPattern) Creates an output banner ItemStack based on the patterns, dyes, etc. in the loom. -
Uses of BannerPattern in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type BannerPatternModifier and TypeFieldDescriptionprivate final TagKey
<BannerPattern> BannerPatternItem.bannerPattern
Methods in net.minecraft.world.item that return types with arguments of type BannerPatternConstructor parameters in net.minecraft.world.item with type arguments of type BannerPatternModifierConstructorDescriptionBannerPatternItem
(TagKey<BannerPattern> pBannerPattern, Item.Properties pProperties) -
Uses of BannerPattern in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type BannerPatternModifier and TypeFieldDescriptionstatic final ResourceKey
<BannerPattern> BannerPatterns.BASE
static final ResourceKey
<BannerPattern> BannerPatterns.BORDER
static final ResourceKey
<BannerPattern> BannerPatterns.BRICKS
static final ResourceKey
<BannerPattern> BannerPatterns.CIRCLE_MIDDLE
static final com.mojang.serialization.Codec
<Holder<BannerPattern>> BannerPattern.CODEC
static final ResourceKey
<BannerPattern> BannerPatterns.CREEPER
static final ResourceKey
<BannerPattern> BannerPatterns.CROSS
static final ResourceKey
<BannerPattern> BannerPatterns.CURLY_BORDER
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_LEFT_MIRROR
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_RIGHT_MIRROR
static final com.mojang.serialization.Codec
<BannerPattern> BannerPattern.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BannerPattern> BannerPattern.DIRECT_STREAM_CODEC
static final ResourceKey
<BannerPattern> BannerPatterns.FLOW
static final ResourceKey
<BannerPattern> BannerPatterns.FLOWER
static final ResourceKey
<BannerPattern> BannerPatterns.GLOBE
static final ResourceKey
<BannerPattern> BannerPatterns.GRADIENT
static final ResourceKey
<BannerPattern> BannerPatterns.GRADIENT_UP
static final ResourceKey
<BannerPattern> BannerPatterns.GUSTER
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_HORIZONTAL
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_HORIZONTAL_MIRROR
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_VERTICAL
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_VERTICAL_MIRROR
static final ResourceKey
<BannerPattern> BannerPatterns.MOJANG
private final Holder
<BannerPattern> BannerPatternLayers.Layer.pattern
The field for thepattern
record component.static final ResourceKey
<BannerPattern> BannerPatterns.PIGLIN
static final ResourceKey
<BannerPattern> BannerPatterns.RHOMBUS_MIDDLE
static final ResourceKey
<BannerPattern> BannerPatterns.SKULL
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_BOTTOM_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_BOTTOM_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_TOP_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_TOP_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRAIGHT_CROSS
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODEC
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_CENTER
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_DOWNLEFT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_DOWNRIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_MIDDLE
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_SMALL
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_TOP
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLE_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLE_TOP
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLES_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLES_TOP
Methods in net.minecraft.world.level.block.entity that return types with arguments of type BannerPatternModifier and TypeMethodDescriptionprivate static ResourceKey
<BannerPattern> BannerPatternLayers.Layer.pattern()
Returns the value of thepattern
record component.Method parameters in net.minecraft.world.level.block.entity with type arguments of type BannerPatternModifier and TypeMethodDescriptionBannerPatternLayers.Builder.add
(Holder<BannerPattern> pPattern, DyeColor pColor) BannerPatternLayers.Builder.addIfRegistered
(HolderGetter<BannerPattern> pPatterns, ResourceKey<BannerPattern> pPatternKey, DyeColor pColor) Deprecated.BannerPatternLayers.Builder.addIfRegistered
(HolderGetter<BannerPattern> pPatterns, ResourceKey<BannerPattern> pPatternKey, DyeColor pColor) Deprecated.static void
BannerPatterns.bootstrap
(BootstrapContext<BannerPattern> pContext) static void
BannerPatterns.register
(BootstrapContext<BannerPattern> pContext, ResourceKey<BannerPattern> pResourceKey) static void
BannerPatterns.register
(BootstrapContext<BannerPattern> pContext, ResourceKey<BannerPattern> pResourceKey) Constructor parameters in net.minecraft.world.level.block.entity with type arguments of type BannerPatternModifierConstructorDescriptionLayer
(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayer
record class. -
Uses of BannerPattern in net.minecraft.world.level.storage.loot.functions
Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type BannerPatternModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern
(Holder<BannerPattern> pPattern, DyeColor pColor)