类 BoundedIntUnaryOperator
- java.lang.Object
-
- net.minecraft.loot.operator.BoundedIntUnaryOperator
-
public class BoundedIntUnaryOperator extends Object
- Mappings:
Namespace Name official dhnintermediary net/minecraft/class_42named net/minecraft/loot/operator/BoundedIntUnaryOperator
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static interfaceBoundedIntUnaryOperator.Applierstatic classBoundedIntUnaryOperator.Serializer(专用程序包) static interfaceBoundedIntUnaryOperator.Tester
-
字段概要
字段 修饰符和类型 字段 说明 private BoundedIntUnaryOperator.Applierapplierprivate @Nullable LootNumberProvidermaxprivate @Nullable LootNumberProviderminprivate BoundedIntUnaryOperator.Testertester
-
构造器概要
构造器 限定符 构造器 说明 privateBoundedIntUnaryOperator(@Nullable LootNumberProvider min, @Nullable LootNumberProvider max)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intapply(LootContext context, int value)static BoundedIntUnaryOperatorcreate(int value)static BoundedIntUnaryOperatorcreate(int min, int max)static BoundedIntUnaryOperatorcreateMax(int max)static BoundedIntUnaryOperatorcreateMin(int min)Set<LootContextParameter<?>>getRequiredParameters()booleantest(LootContext context, int value)
-
-
-
字段详细资料
-
min
@Nullable private final @Nullable LootNumberProvider min
- Mappings:
Namespace Name Mixin selector official aLdhn;a:Ldlc;intermediary field_921Lnet/minecraft/class_42;field_921:Lnet/minecraft/class_5658;named minLnet/minecraft/loot/operator/BoundedIntUnaryOperator;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
max
@Nullable private final @Nullable LootNumberProvider max
- Mappings:
Namespace Name Mixin selector official bLdhn;b:Ldlc;intermediary field_920Lnet/minecraft/class_42;field_920:Lnet/minecraft/class_5658;named maxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
applier
private final BoundedIntUnaryOperator.Applier applier
- Mappings:
Namespace Name Mixin selector official cLdhn;c:Ldhn$b;intermediary field_27897Lnet/minecraft/class_42;field_27897:Lnet/minecraft/class_42$class_5639;named applierLnet/minecraft/loot/operator/BoundedIntUnaryOperator;applier:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Applier;
-
tester
private final BoundedIntUnaryOperator.Tester tester
- Mappings:
Namespace Name Mixin selector official dLdhn;d:Ldhn$a;intermediary field_27898Lnet/minecraft/class_42;field_27898:Lnet/minecraft/class_42$class_5638;named testerLnet/minecraft/loot/operator/BoundedIntUnaryOperator;tester:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Tester;
-
-
构造器详细资料
-
BoundedIntUnaryOperator
private BoundedIntUnaryOperator(@Nullable @Nullable LootNumberProvider min, @Nullable @Nullable LootNumberProvider max)
- Mappings:
Namespace Name Mixin selector official <init>Ldhn;<init>(Ldlc;Ldlc;)Vintermediary <init>Lnet/minecraft/class_42;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)Vnamed <init>Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
方法详细资料
-
getRequiredParameters
public Set<LootContextParameter<?>> getRequiredParameters()
- Mappings:
Namespace Name Mixin selector official aLdhn;a()Ljava/util/Set;intermediary method_32386Lnet/minecraft/class_42;method_32386()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/operator/BoundedIntUnaryOperator;getRequiredParameters()Ljava/util/Set;
-
create
public static BoundedIntUnaryOperator create(int value)
- Mappings:
Namespace Name Mixin selector official aLdhn;a(I)Ldhn;intermediary method_32387Lnet/minecraft/class_42;method_32387(I)Lnet/minecraft/class_42;named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
create
public static BoundedIntUnaryOperator create(int min, int max)
- Mappings:
Namespace Name Mixin selector official aLdhn;a(II)Ldhn;intermediary method_282Lnet/minecraft/class_42;method_282(II)Lnet/minecraft/class_42;named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(II)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMin
public static BoundedIntUnaryOperator createMin(int min)
- Mappings:
Namespace Name Mixin selector official bLdhn;b(I)Ldhn;intermediary method_280Lnet/minecraft/class_42;method_280(I)Lnet/minecraft/class_42;named createMinLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMin(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMax
public static BoundedIntUnaryOperator createMax(int max)
- Mappings:
Namespace Name Mixin selector official cLdhn;c(I)Ldhn;intermediary method_277Lnet/minecraft/class_42;method_277(I)Lnet/minecraft/class_42;named createMaxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMax(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
apply
public int apply(LootContext context, int value)
- Mappings:
Namespace Name Mixin selector official aLdhn;a(Ldhp;I)Iintermediary method_32389Lnet/minecraft/class_42;method_32389(Lnet/minecraft/class_47;I)Inamed applyLnet/minecraft/loot/operator/BoundedIntUnaryOperator;apply(Lnet/minecraft/loot/context/LootContext;I)I
-
test
public boolean test(LootContext context, int value)
- Mappings:
Namespace Name Mixin selector official bLdhn;b(Ldhp;I)Zintermediary method_32393Lnet/minecraft/class_42;method_32393(Lnet/minecraft/class_47;I)Znamed testLnet/minecraft/loot/operator/BoundedIntUnaryOperator;test(Lnet/minecraft/loot/context/LootContext;I)Z
-
-