Package net.minecraft.loot.condition
Class ValueCheckLootCondition
java.lang.Object
net.minecraft.loot.condition.ValueCheckLootCondition
- All Implemented Interfaces:
Predicate<LootContext>,LootCondition,LootContextAware
- Mappings:
Namespace Name official dxuintermediary net/minecraft/class_5644named net/minecraft/loot/condition/ValueCheckLootCondition
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.loot.condition.LootCondition
LootCondition.Builder -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BoundedIntUnaryOperator(package private) final LootNumberProvider -
Constructor Summary
ConstructorsConstructorDescriptionValueCheckLootCondition(LootNumberProvider value, BoundedIntUnaryOperator range) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootCondition.Builderbuilder(LootNumberProvider value, BoundedIntUnaryOperator range) getType()booleanmethod_32423(LootContext lootContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.context.LootContextAware
validate
-
Field Details
-
value
- Mappings:
Namespace Name Mixin selector official aLdxu;a:Ldyg;intermediary field_27912Lnet/minecraft/class_5644;field_27912:Lnet/minecraft/class_5658;named valueLnet/minecraft/loot/condition/ValueCheckLootCondition;value:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
range
- Mappings:
Namespace Name Mixin selector official bLdxu;b:Ldup;intermediary field_27913Lnet/minecraft/class_5644;field_27913:Lnet/minecraft/class_42;named rangeLnet/minecraft/loot/condition/ValueCheckLootCondition;range:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
-
Constructor Details
-
ValueCheckLootCondition
ValueCheckLootCondition(LootNumberProvider value, BoundedIntUnaryOperator range) - Mappings:
Namespace Name Mixin selector official <init>Ldxu;<init>(Ldyg;Ldup;)Vintermediary <init>Lnet/minecraft/class_5644;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_42;)Vnamed <init>Lnet/minecraft/loot/condition/ValueCheckLootCondition;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)V
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootCondition- Mappings:
Namespace Name Mixin selector official aLdxl;a()Ldxm;intermediary method_29325Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;named getTypeLnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-
getRequiredParameters
- Specified by:
getRequiredParametersin interfaceLootContextAware- Mappings:
Namespace Name Mixin selector official bLdus;b()Ljava/util/Set;intermediary method_293Lnet/minecraft/class_46;method_293()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
-
method_32423
- Mappings:
Namespace Name Mixin selector official aLdxu;a(Ldur;)Zintermediary method_32423Lnet/minecraft/class_5644;method_32423(Lnet/minecraft/class_47;)Znamed method_32423Lnet/minecraft/loot/condition/ValueCheckLootCondition;method_32423(Lnet/minecraft/loot/context/LootContext;)Z
-
builder
public static LootCondition.Builder builder(LootNumberProvider value, BoundedIntUnaryOperator range) - Mappings:
Namespace Name Mixin selector official aLdxu;a(Ldyg;Ldup;)Ldxl$a;intermediary method_35562Lnet/minecraft/class_5644;method_35562(Lnet/minecraft/class_5658;Lnet/minecraft/class_42;)Lnet/minecraft/class_5341$class_210;named builderLnet/minecraft/loot/condition/ValueCheckLootCondition;builder(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)Lnet/minecraft/loot/condition/LootCondition$Builder;
-