类 TimeCheckLootCondition
- java.lang.Object
-
- net.minecraft.loot.condition.TimeCheckLootCondition
-
- 所有已实现的接口:
Predicate<LootContext>,LootCondition,LootContextAware
public class TimeCheckLootCondition extends Object implements LootCondition
- Mappings:
Namespace Name official dkpintermediary net/minecraft/class_4571named net/minecraft/loot/condition/TimeCheckLootCondition
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classTimeCheckLootCondition.Builderstatic classTimeCheckLootCondition.Serializer
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable Longperiodprivate BoundedIntUnaryOperatorvalue
-
构造器概要
构造器 限定符 构造器 说明 privateTimeCheckLootCondition(@Nullable Long period, BoundedIntUnaryOperator value)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static TimeCheckLootCondition.Buildercreate(BoundedIntUnaryOperator value)Set<LootContextParameter<?>>getRequiredParameters()LootConditionTypegetType()booleantest(LootContext lootContext)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.loot.context.LootContextAware
validate
-
-
-
-
字段详细资料
-
period
@Nullable private final @Nullable Long period
- Mappings:
Namespace Name Mixin selector official aLdkp;a:Ljava/lang/Long;intermediary field_20767Lnet/minecraft/class_4571;field_20767:Ljava/lang/Long;named periodLnet/minecraft/loot/condition/TimeCheckLootCondition;period:Ljava/lang/Long;
-
value
private final BoundedIntUnaryOperator value
- Mappings:
Namespace Name Mixin selector official bLdkp;b:Ldhn;intermediary field_20768Lnet/minecraft/class_4571;field_20768:Lnet/minecraft/class_42;named valueLnet/minecraft/loot/condition/TimeCheckLootCondition;value:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
-
构造器详细资料
-
TimeCheckLootCondition
private TimeCheckLootCondition(@Nullable @Nullable Long period, BoundedIntUnaryOperator value)
- Mappings:
Namespace Name Mixin selector official <init>Ldkp;<init>(Ljava/lang/Long;Ldhn;)Vintermediary <init>Lnet/minecraft/class_4571;<init>(Ljava/lang/Long;Lnet/minecraft/class_42;)Vnamed <init>Lnet/minecraft/loot/condition/TimeCheckLootCondition;<init>(Ljava/lang/Long;Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)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;
-
getRequiredParameters
public Set<LootContextParameter<?>> getRequiredParameters()
- 指定者:
getRequiredParameters在接口中LootContextAware- Mappings:
Namespace Name Mixin selector official bLdhq;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;
-
test
public boolean test(LootContext lootContext)
- 指定者:
test在接口中Predicate<LootContext>- Mappings:
Namespace Name Mixin selector official aLdkp;a(Ldhp;)Zintermediary method_22587Lnet/minecraft/class_4571;method_22587(Lnet/minecraft/class_47;)Znamed testLnet/minecraft/loot/condition/TimeCheckLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
create
public static TimeCheckLootCondition.Builder create(BoundedIntUnaryOperator value)
- Mappings:
Namespace Name Mixin selector official aLdkp;a(Ldhn;)Ldkp$a;intermediary method_35559Lnet/minecraft/class_4571;method_35559(Lnet/minecraft/class_42;)Lnet/minecraft/class_4571$class_6164;named createLnet/minecraft/loot/condition/TimeCheckLootCondition;create(Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;
-
-