Package net.minecraft.loot.condition
Class WeatherCheckLootCondition
java.lang.Object
net.minecraft.loot.condition.WeatherCheckLootCondition
- All Implemented Interfaces:
Predicate<LootContext>,LootCondition,LootContextAware
- Mappings:
Namespace Name official ecrintermediary net/minecraft/class_227named net/minecraft/loot/condition/WeatherCheckLootCondition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWeatherCheckLootCondition(@Nullable Boolean raining, @Nullable Boolean thundering) -
Method Summary
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
getRequiredParameters, validate
-
Field Details
-
raining
- Mappings:
Namespace Name Mixin selector official aLecr;a:Ljava/lang/Boolean;intermediary field_1302Lnet/minecraft/class_227;field_1302:Ljava/lang/Boolean;named rainingLnet/minecraft/loot/condition/WeatherCheckLootCondition;raining:Ljava/lang/Boolean;
-
thundering
- Mappings:
Namespace Name Mixin selector official bLecr;b:Ljava/lang/Boolean;intermediary field_1301Lnet/minecraft/class_227;field_1301:Ljava/lang/Boolean;named thunderingLnet/minecraft/loot/condition/WeatherCheckLootCondition;thundering:Ljava/lang/Boolean;
-
-
Constructor Details
-
WeatherCheckLootCondition
WeatherCheckLootCondition(@Nullable @Nullable Boolean raining, @Nullable @Nullable Boolean thundering) - Mappings:
Namespace Name Mixin selector official <init>Lecr;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)Vintermediary <init>Lnet/minecraft/class_227;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)Vnamed <init>Lnet/minecraft/loot/condition/WeatherCheckLootCondition;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;)V
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootCondition- Mappings:
Namespace Name Mixin selector official bLech;b()Leci;intermediary method_29325Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;named getTypeLnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-
test
- Specified by:
testin interfacePredicate<LootContext>- Mappings:
Namespace Name Mixin selector official aLecr;a(Ldzh;)Zintermediary method_957Lnet/minecraft/class_227;method_957(Lnet/minecraft/class_47;)Znamed testLnet/minecraft/loot/condition/WeatherCheckLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
create
- Mappings:
Namespace Name Mixin selector official cLecr;c()Lecr$a;intermediary method_35564Lnet/minecraft/class_227;method_35564()Lnet/minecraft/class_227$class_6165;named createLnet/minecraft/loot/condition/WeatherCheckLootCondition;create()Lnet/minecraft/loot/condition/WeatherCheckLootCondition$Builder;
-