Class EnterBlockCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.EnterBlockCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
EnterBlockCriterion
- Mappings:
Namespace Name official bk$a
intermediary net/minecraft/class_2037$class_2039
named net/minecraft/advancement/criterion/EnterBlockCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(LootContextPredicate player, @Nullable Block block, StatePredicate state) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(BlockState state) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lbk$a;a:Lcpn;
intermediary field_9576
Lnet/minecraft/class_2037$class_2039;field_9576:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;block:Lnet/minecraft/block/Block;
-
state
- Mappings:
Namespace Name Mixin selector official b
Lbk$a;b:Lcz;
intermediary field_9577
Lnet/minecraft/class_2037$class_2039;field_9577:Lnet/minecraft/class_4559;
named state
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;state:Lnet/minecraft/predicate/StatePredicate;
-
-
Constructor Details
-
Conditions
public Conditions(LootContextPredicate player, @Nullable @Nullable Block block, StatePredicate state) - Mappings:
Namespace Name Mixin selector official <init>
Lbk$a;<init>(Lba;Lcpn;Lcz;)V
intermediary <init>
Lnet/minecraft/class_2037$class_2039;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;)V
named <init>
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/block/Block;Lnet/minecraft/predicate/StatePredicate;)V
-
-
Method Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lbk$a;a(Lcpn;)Lbk$a;
intermediary method_8890
Lnet/minecraft/class_2037$class_2039;method_8890(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2037$class_2039;
named block
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;block(Lnet/minecraft/block/Block;)Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lct;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbk$a;a(Ldcb;)Z
intermediary method_8891
Lnet/minecraft/class_2037$class_2039;method_8891(Lnet/minecraft/class_2680;)Z
named matches
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;matches(Lnet/minecraft/block/BlockState;)Z
-