类 InvertedLootCondition
- java.lang.Object
-
- net.minecraft.loot.condition.InvertedLootCondition
-
- 所有已实现的接口:
Predicate<LootContext>,LootCondition,LootContextAware
public class InvertedLootCondition extends Object implements LootCondition
- Mappings:
Namespace Name official dkeintermediary net/minecraft/class_207named net/minecraft/loot/condition/InvertedLootCondition
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classInvertedLootCondition.Serializer-
从接口继承的嵌套类/接口 net.minecraft.loot.condition.LootCondition
LootCondition.Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private LootConditionterm
-
构造器概要
构造器 限定符 构造器 说明 privateInvertedLootCondition(LootCondition term)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LootCondition.Builderbuilder(LootCondition.Builder term)Set<LootContextParameter<?>>getRequiredParameters()LootConditionTypegetType()booleantest(LootContext lootContext)voidvalidate(LootTableReporter reporter)
-
-
-
字段详细资料
-
term
private final LootCondition term
- Mappings:
Namespace Name Mixin selector official aLdke;a:Ldkh;intermediary field_1283Lnet/minecraft/class_207;field_1283:Lnet/minecraft/class_5341;named termLnet/minecraft/loot/condition/InvertedLootCondition;term:Lnet/minecraft/loot/condition/LootCondition;
-
-
构造器详细资料
-
InvertedLootCondition
private InvertedLootCondition(LootCondition term)
- Mappings:
Namespace Name Mixin selector official <init>Ldke;<init>(Ldkh;)Vintermediary <init>Lnet/minecraft/class_207;<init>(Lnet/minecraft/class_5341;)Vnamed <init>Lnet/minecraft/loot/condition/InvertedLootCondition;<init>(Lnet/minecraft/loot/condition/LootCondition;)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 final boolean test(LootContext lootContext)
- 指定者:
test在接口中Predicate<LootContext>- Mappings:
Namespace Name Mixin selector official aLdke;a(Ldhp;)Zintermediary method_888Lnet/minecraft/class_207;method_888(Lnet/minecraft/class_47;)Znamed testLnet/minecraft/loot/condition/InvertedLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
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;
-
validate
public void validate(LootTableReporter reporter)
- 指定者:
validate在接口中LootContextAware- Mappings:
Namespace Name Mixin selector official aLdhq;a(Ldhx;)Vintermediary method_292Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
builder
public static LootCondition.Builder builder(LootCondition.Builder term)
- Mappings:
Namespace Name Mixin selector official aLdke;a(Ldkh$a;)Ldkh$a;intermediary method_889Lnet/minecraft/class_207;method_889(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_5341$class_210;named builderLnet/minecraft/loot/condition/InvertedLootCondition;builder(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/condition/LootCondition$Builder;
-
-