Package net.minecraft.loot.condition
Class BlockStatePropertyLootCondition
java.lang.Object
net.minecraft.loot.condition.BlockStatePropertyLootCondition
- All Implemented Interfaces:
Predicate<LootContext>
,LootCondition
,LootContextAware
- Mappings:
Namespace Name official dms
intermediary net/minecraft/class_212
named net/minecraft/loot/condition/BlockStatePropertyLootCondition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescription(package private) final Block
(package private) final StatePredicate
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.context.LootContextAware
validate
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Ldms;a:Lccy;
intermediary field_1286
Lnet/minecraft/class_212;field_1286:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;block:Lnet/minecraft/block/Block;
-
properties
- Mappings:
Namespace Name Mixin selector official b
Ldms;b:Lcw;
intermediary field_1288
Lnet/minecraft/class_212;field_1288:Lnet/minecraft/class_4559;
named properties
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;properties:Lnet/minecraft/predicate/StatePredicate;
-
-
Constructor Details
-
BlockStatePropertyLootCondition
BlockStatePropertyLootCondition(Block block, StatePredicate properties) - Mappings:
Namespace Name Mixin selector official <init>
Ldms;<init>(Lccy;Lcw;)V
intermediary <init>
Lnet/minecraft/class_212;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;)V
named <init>
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/predicate/StatePredicate;)V
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootCondition
- Mappings:
Namespace Name Mixin selector official a
Ldmt;a()Ldmu;
intermediary method_29325
Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;
named getType
Lnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-
getRequiredParameters
- Specified by:
getRequiredParameters
in interfaceLootContextAware
- Mappings:
Namespace Name Mixin selector official b
Ldkb;b()Ljava/util/Set;
intermediary method_293
Lnet/minecraft/class_46;method_293()Ljava/util/Set;
named getRequiredParameters
Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
-
test
- Specified by:
test
in interfacePredicate<LootContext>
- Mappings:
Namespace Name Mixin selector official a
Ldms;a(Ldka;)Z
intermediary method_899
Lnet/minecraft/class_212;method_899(Lnet/minecraft/class_47;)Z
named test
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ldms;a(Lccy;)Ldms$a;
intermediary method_900
Lnet/minecraft/class_212;method_900(Lnet/minecraft/class_2248;)Lnet/minecraft/class_212$class_213;
named builder
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;builder(Lnet/minecraft/block/Block;)Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;
-