类 SetBannerPatternFunction
- java.lang.Object
-
- net.minecraft.loot.function.ConditionalLootFunction
-
- net.minecraft.loot.function.SetBannerPatternFunction
-
- 所有已实现的接口:
BiFunction<ItemStack,LootContext,ItemStack>,LootContextAware,LootFunction
public class SetBannerPatternFunction extends ConditionalLootFunction
- Mappings:
Namespace Name official djfintermediary net/minecraft/class_5592named net/minecraft/loot/function/SetBannerPatternFunction
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSetBannerPatternFunction.Builderstatic classSetBannerPatternFunction.Serializer-
从类继承的嵌套类/接口 net.minecraft.loot.function.ConditionalLootFunction
ConditionalLootFunction.Joiner
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanappendprivate List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>patterns-
从类继承的字段 net.minecraft.loot.function.ConditionalLootFunction
conditions
-
-
构造器概要
构造器 限定符 构造器 说明 privateSetBannerPatternFunction(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns, boolean append)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 LootFunctionTypegetType()static SetBannerPatternFunction.Buildermethod_35531(boolean bool)protected ItemStackprocess(ItemStack stack, LootContext context)-
从类继承的方法 net.minecraft.loot.function.ConditionalLootFunction
apply, builder, validate
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.util.function.BiFunction
andThen
-
从接口继承的方法 net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
-
-
-
字段详细资料
-
patterns
private final List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns
- Mappings:
Namespace Name Mixin selector official aLdjf;a:Ljava/util/List;intermediary field_27343Lnet/minecraft/class_5592;field_27343:Ljava/util/List;named patternsLnet/minecraft/loot/function/SetBannerPatternFunction;patterns:Ljava/util/List;
-
append
private final boolean append
- Mappings:
Namespace Name Mixin selector official bLdjf;b:Zintermediary field_27344Lnet/minecraft/class_5592;field_27344:Znamed appendLnet/minecraft/loot/function/SetBannerPatternFunction;append:Z
-
-
构造器详细资料
-
SetBannerPatternFunction
private SetBannerPatternFunction(LootCondition[] conditions, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patterns, boolean append)
- Mappings:
Namespace Name Mixin selector official <init>Ldjf;<init>([Ldkh;Ljava/util/List;Z)Vintermediary <init>Lnet/minecraft/class_5592;<init>([Lnet/minecraft/class_5341;Ljava/util/List;Z)Vnamed <init>Lnet/minecraft/loot/function/SetBannerPatternFunction;<init>([Lnet/minecraft/loot/condition/LootCondition;Ljava/util/List;Z)V
-
-
方法详细资料
-
process
protected ItemStack process(ItemStack stack, LootContext context)
- 指定者:
process在类中ConditionalLootFunction- Mappings:
Namespace Name Mixin selector official aLdiz;a(Lbpr;Ldhp;)Lbpr;intermediary method_522Lnet/minecraft/class_120;method_522(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;named processLnet/minecraft/loot/function/ConditionalLootFunction;process(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
getType
public LootFunctionType getType()
- Mappings:
Namespace Name Mixin selector official aLdja;a()Ldjb;intermediary method_29321Lnet/minecraft/class_117;method_29321()Lnet/minecraft/class_5339;named getTypeLnet/minecraft/loot/function/LootFunction;getType()Lnet/minecraft/loot/function/LootFunctionType;
-
method_35531
public static SetBannerPatternFunction.Builder method_35531(boolean bool)
- Mappings:
Namespace Name Mixin selector official aLdjf;a(Z)Ldjf$a;intermediary method_35531Lnet/minecraft/class_5592;method_35531(Z)Lnet/minecraft/class_5592$class_6157;named method_35531Lnet/minecraft/loot/function/SetBannerPatternFunction;method_35531(Z)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;
-
-