Uses of Record Class
net.minecraft.world.item.equipment.trim.TrimPattern
Packages that use TrimPattern
Package
Description
-
Uses of TrimPattern in net.minecraft.client.data
Fields in net.minecraft.client.data with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate static final List
<ResourceKey<TrimPattern>> AtlasProvider.VANILLA_PATTERNS
-
Uses of TrimPattern in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate final Optional
<HolderSet<TrimPattern>> TrimPredicate.pattern
The field for thepattern
record component.Methods in net.minecraft.core.component.predicates that return types with arguments of type TrimPatternModifier and TypeMethodDescriptionTrimPredicate.pattern()
Returns the value of thepattern
record component. -
Uses of TrimPattern in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type TrimPatternModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<TrimPattern>> Registries.TRIM_PATTERN
-
Uses of TrimPattern in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate final Holder
<TrimPattern> SmithingTrimRecipeBuilder.pattern
Method parameters in net.minecraft.data.recipes with type arguments of type TrimPatternModifier and TypeMethodDescriptionstatic SmithingTrimRecipeBuilder
SmithingTrimRecipeBuilder.smithingTrim
(Ingredient p_266812_, Ingredient p_266843_, Ingredient p_267309_, Holder<TrimPattern> p_399606_, RecipeCategory p_267269_) protected void
RecipeProvider.trimSmithing
(Item p_285461_, ResourceKey<TrimPattern> p_379766_, ResourceKey<Recipe<?>> p_399566_) Constructor parameters in net.minecraft.data.recipes with type arguments of type TrimPatternModifierConstructorDescriptionSmithingTrimRecipeBuilder
(RecipeCategory p_267007_, Ingredient p_266712_, Ingredient p_267018_, Ingredient p_267264_, Holder<TrimPattern> p_399676_) -
Uses of TrimPattern in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate final ResourceKey
<TrimPattern> VanillaRecipeProvider.TrimTemplate.patternId
The field for thepatternId
record component.Methods in net.minecraft.data.recipes.packs that return types with arguments of type TrimPatternModifier and TypeMethodDescriptionVanillaRecipeProvider.TrimTemplate.patternId()
Returns the value of thepatternId
record component.Constructor parameters in net.minecraft.data.recipes.packs with type arguments of type TrimPatternModifierConstructorDescriptionTrimTemplate
(Item template, ResourceKey<TrimPattern> patternId, ResourceKey<Recipe<?>> recipeId) Creates an instance of aTrimTemplate
record class. -
Uses of TrimPattern in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate static final ToIntFunction
<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.TRIM_PATTERN_ORDER
private static final List
<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.VANILLA_TRIM_PATTERNS
Method parameters in net.minecraft.server.commands with type arguments of type TrimPatternModifier and TypeMethodDescriptionprivate static int
SpawnArmorTrimsCommand.spawnArmorTrim
(CommandSourceStack p_399815_, Player p_400283_, ResourceKey<TrimPattern> p_399941_) private static int
SpawnArmorTrimsCommand.spawnArmorTrims
(CommandSourceStack p_266993_, Player p_266983_, Stream<Holder.Reference<TrimPattern>> p_400161_) -
Uses of TrimPattern in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type TrimPatternModifier and TypeFieldDescription(package private) final Holder
<TrimPattern> SmithingTrimRecipe.pattern
Method parameters in net.minecraft.world.item.crafting with type arguments of type TrimPatternModifier and TypeMethodDescriptionstatic ItemStack
SmithingTrimRecipe.applyTrim
(HolderLookup.Provider p_381047_, ItemStack p_381169_, ItemStack p_381102_, Holder<TrimPattern> p_399470_) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type TrimPatternModifierConstructorDescriptionSmithingTrimRecipe
(Ingredient p_399501_, Ingredient p_399626_, Ingredient p_399756_, Holder<TrimPattern> p_399526_) -
Uses of TrimPattern in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display with type parameters of type TrimPatternModifier and TypeFieldDescriptionprivate final Holder
<TrimPattern> SlotDisplay.SmithingTrimDemoSlotDisplay.pattern
The field for thepattern
record component.Methods in net.minecraft.world.item.crafting.display that return types with arguments of type TrimPatternModifier and TypeMethodDescriptionSlotDisplay.SmithingTrimDemoSlotDisplay.pattern()
Returns the value of thepattern
record component.Constructor parameters in net.minecraft.world.item.crafting.display with type arguments of type TrimPatternModifierConstructorDescriptionSmithingTrimDemoSlotDisplay
(SlotDisplay base, SlotDisplay material, Holder<TrimPattern> pattern) Creates an instance of aSmithingTrimDemoSlotDisplay
record class. -
Uses of TrimPattern in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim with type parameters of type TrimPatternModifier and TypeFieldDescriptionstatic final ResourceKey
<TrimPattern> TrimPatterns.BOLT
static final ResourceKey
<TrimPattern> TrimPatterns.COAST
static final com.mojang.serialization.Codec
<Holder<TrimPattern>> TrimPattern.CODEC
static final com.mojang.serialization.Codec
<TrimPattern> TrimPattern.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TrimPattern> TrimPattern.DIRECT_STREAM_CODEC
static final ResourceKey
<TrimPattern> TrimPatterns.DUNE
static final ResourceKey
<TrimPattern> TrimPatterns.EYE
static final ResourceKey
<TrimPattern> TrimPatterns.FLOW
static final ResourceKey
<TrimPattern> TrimPatterns.HOST
private final Holder
<TrimPattern> ArmorTrim.pattern
The field for thepattern
record component.static final ResourceKey
<TrimPattern> TrimPatterns.RAISER
static final ResourceKey
<TrimPattern> TrimPatterns.RIB
static final ResourceKey
<TrimPattern> TrimPatterns.SENTRY
static final ResourceKey
<TrimPattern> TrimPatterns.SHAPER
static final ResourceKey
<TrimPattern> TrimPatterns.SILENCE
static final ResourceKey
<TrimPattern> TrimPatterns.SNOUT
static final ResourceKey
<TrimPattern> TrimPatterns.SPIRE
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC
static final ResourceKey
<TrimPattern> TrimPatterns.TIDE
static final ResourceKey
<TrimPattern> TrimPatterns.VEX
static final ResourceKey
<TrimPattern> TrimPatterns.WARD
static final ResourceKey
<TrimPattern> TrimPatterns.WAYFINDER
static final ResourceKey
<TrimPattern> TrimPatterns.WILD
Methods in net.minecraft.world.item.equipment.trim that return types with arguments of type TrimPatternModifier and TypeMethodDescriptionArmorTrim.pattern()
Returns the value of thepattern
record component.private static ResourceKey
<TrimPattern> TrimPatterns.registryKey
(String p_371622_) Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type TrimPatternModifier and TypeMethodDescriptionstatic void
TrimPatterns.bootstrap
(BootstrapContext<TrimPattern> p_371366_) static ResourceLocation
TrimPatterns.defaultAssetId
(ResourceKey<TrimPattern> p_399743_) static void
TrimPatterns.register
(BootstrapContext<TrimPattern> p_371430_, ResourceKey<TrimPattern> p_371696_) static void
TrimPatterns.register
(BootstrapContext<TrimPattern> p_371430_, ResourceKey<TrimPattern> p_371696_)