Package net.minecraft.loot.function
Class SetBannerPatternLootFunction
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.loot.function.SetBannerPatternLootFunction
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> LootContextAware
,LootFunction
- Mappings:
Namespace Name named net/minecraft/loot/function/SetBannerPatternLootFunction
intermediary net/minecraft/class_5592
official etf
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
static final com.mojang.serialization.MapCodec
<SetBannerPatternLootFunction> private final BannerPatternsComponent
Fields inherited from class net.minecraft.loot.function.ConditionalLootFunction
conditions
-
Constructor Summary
ConstructorDescriptionSetBannerPatternLootFunction
(List<LootCondition> conditions, BannerPatternsComponent patterns, boolean append) -
Method Summary
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction
addConditionsField, apply, builder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/SetBannerPatternLootFunction;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_45839
Lnet/minecraft/class_5592;field_45839:Lcom/mojang/serialization/MapCodec;
official a
Letf;a:Lcom/mojang/serialization/MapCodec;
-
patterns
- Mappings:
Namespace Name Mixin selector named patterns
Lnet/minecraft/loot/function/SetBannerPatternLootFunction;patterns:Lnet/minecraft/component/type/BannerPatternsComponent;
intermediary field_27343
Lnet/minecraft/class_5592;field_27343:Lnet/minecraft/class_9307;
official b
Letf;b:Ldpw;
-
append
private final boolean append- Mappings:
Namespace Name Mixin selector named append
Lnet/minecraft/loot/function/SetBannerPatternLootFunction;append:Z
intermediary field_27344
Lnet/minecraft/class_5592;field_27344:Z
official c
Letf;c:Z
-
-
Constructor Details
-
SetBannerPatternLootFunction
SetBannerPatternLootFunction(List<LootCondition> conditions, BannerPatternsComponent patterns, boolean append) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/SetBannerPatternLootFunction;<init>(Ljava/util/List;Lnet/minecraft/component/type/BannerPatternsComponent;Z)V
intermediary <init>
Lnet/minecraft/class_5592;<init>(Ljava/util/List;Lnet/minecraft/class_9307;Z)V
official <init>
Letf;<init>(Ljava/util/List;Ldpw;Z)V
-
-
Method Details
-
process
- Specified by:
process
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector named process
Lnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
intermediary method_522
Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;
official a
Lesy;a(Lcuo;Lerl;)Lcuo;
-
getType
- Specified by:
getType
in interfaceLootFunction
- Specified by:
getType
in classConditionalLootFunction
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
intermediary method_29321
Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;
official b
Lesz;b()Leta;
-
builder
- Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/loot/function/SetBannerPatternLootFunction;builder(Z)Lnet/minecraft/loot/function/SetBannerPatternLootFunction$Builder;
intermediary method_35531
Lnet/minecraft/class_5592;method_35531(Z)Lnet/minecraft/class_5592$class_6157;
official a
Letf;a(Z)Letf$a;
-