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 esd
-
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
Lesd;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
Lesd;b:Ldoz;
-
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
Lesd;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>
Lesd;<init>(Ljava/util/List;Ldoz;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
Lerv;a(Lcuq;Leqj;)Lcuq;
-
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
Lerw;b()Lerx;
-
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
Lesd;a(Z)Lesd$a;
-