类 WeatherCheckLootCondition
- java.lang.Object
-
- net.minecraft.loot.condition.WeatherCheckLootCondition
-
- 所有已实现的接口:
Predicate<LootContext>,LootCondition,LootContextAware
public class WeatherCheckLootCondition extends Object implements LootCondition
- Mappings:
Namespace Name official dkrintermediary net/minecraft/class_227named net/minecraft/loot/condition/WeatherCheckLootCondition
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classWeatherCheckLootCondition.Builderstatic classWeatherCheckLootCondition.Serializer
-
构造器概要
构造器 限定符 构造器 说明 privateWeatherCheckLootCondition(@Nullable Boolean raining, @Nullable Boolean thundering)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static WeatherCheckLootCondition.Buildercreate()LootConditionTypegetType()booleantest(LootContext lootContext)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.loot.context.LootContextAware
getRequiredParameters, validate
-
-
-
-
字段详细资料
-
raining
@Nullable private final @Nullable Boolean raining
- Mappings:
Namespace Name Mixin selector official aLdkr;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
@Nullable private final @Nullable Boolean thundering
- Mappings:
Namespace Name Mixin selector official bLdkr;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;
-
-
构造器详细资料
-
WeatherCheckLootCondition
private WeatherCheckLootCondition(@Nullable @Nullable Boolean raining, @Nullable @Nullable Boolean thundering)
- Mappings:
Namespace Name Mixin selector official <init>Ldkr;<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
-
-
方法详细资料
-
getType
public LootConditionType getType()
- 指定者:
getType在接口中LootCondition- Mappings:
Namespace Name Mixin selector official aLdkh;a()Ldki;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
public boolean test(LootContext lootContext)
- 指定者:
test在接口中Predicate<LootContext>- Mappings:
Namespace Name Mixin selector official aLdkr;a(Ldhp;)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
public static WeatherCheckLootCondition.Builder create()
- Mappings:
Namespace Name Mixin selector official cLdkr;c()Ldkr$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;
-
-