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 dlg
intermediary net/minecraft/class_212
named net/minecraft/loot/condition/BlockStatePropertyLootCondition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlockStatePropertyLootCondition(Block block, StatePredicate statePredicate)
-
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
Ldlg;a:Lbzo;
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
Ldlg;b:Lcv;
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 statePredicate)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootCondition
- Mappings:
Namespace Name Mixin selector official a
Ldlh;a()Ldli;
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
Ldiq;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
Ldlg;a(Ldip;)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
Ldlg;a(Lbzo;)Ldlg$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;
-