类 LootFunctionManager.AndFunction
- java.lang.Object
-
- net.minecraft.loot.function.LootFunctionManager.AndFunction
-
- 所有已实现的接口:
BiFunction<ItemStack,LootContext,ItemStack>,LootContextAware,LootFunction
- 封闭类:
- LootFunctionManager
static class LootFunctionManager.AndFunction extends Object implements LootFunction
- Mappings:
Namespace Name official dho$aintermediary net/minecraft/class_5640$class_5641named net/minecraft/loot/function/LootFunctionManager$AndFunction
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.loot.function.LootFunction
LootFunction.Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private BiFunction<ItemStack,LootContext,ItemStack>field_27905protected LootFunction[]functions
-
构造器概要
构造器 构造器 说明 AndFunction(LootFunction[] functions)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ItemStackapply(ItemStack itemStack, LootContext lootContext)LootFunctionTypegetType()-
从类继承的方法 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, validate
-
-
-
-
字段详细资料
-
functions
protected final LootFunction[] functions
- Mappings:
Namespace Name Mixin selector official aLdho$a;a:[Ldja;intermediary field_27904Lnet/minecraft/class_5640$class_5641;field_27904:[Lnet/minecraft/class_117;named functionsLnet/minecraft/loot/function/LootFunctionManager$AndFunction;functions:[Lnet/minecraft/loot/function/LootFunction;
-
field_27905
private final BiFunction<ItemStack,LootContext,ItemStack> field_27905
- Mappings:
Namespace Name Mixin selector official bLdho$a;b:Ljava/util/function/BiFunction;intermediary field_27905Lnet/minecraft/class_5640$class_5641;field_27905:Ljava/util/function/BiFunction;named field_27905Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;field_27905:Ljava/util/function/BiFunction;
-
-
构造器详细资料
-
AndFunction
public AndFunction(LootFunction[] functions)
- Mappings:
Namespace Name Mixin selector official <init>Ldho$a;<init>([Ldja;)Vintermediary <init>Lnet/minecraft/class_5640$class_5641;<init>([Lnet/minecraft/class_117;)Vnamed <init>Lnet/minecraft/loot/function/LootFunctionManager$AndFunction;<init>([Lnet/minecraft/loot/function/LootFunction;)V
-
-
方法详细资料
-
apply
public ItemStack apply(ItemStack itemStack, LootContext lootContext)
- 指定者:
apply在接口中BiFunction<ItemStack,LootContext,ItemStack>- Mappings:
Namespace Name Mixin selector official aLdho$a;a(Lbpr;Ldhp;)Lbpr;intermediary method_32405Lnet/minecraft/class_5640$class_5641;method_32405(Lnet/minecraft/class_1799;Lnet/minecraft/class_47;)Lnet/minecraft/class_1799;named applyLnet/minecraft/loot/function/LootFunctionManager$AndFunction;apply(Lnet/minecraft/item/ItemStack;Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/item/ItemStack;
-
getType
public LootFunctionType getType()
- 指定者:
getType在接口中LootFunction- 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;
-
-