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 bi$a
intermediary net/minecraft/class_2037$class_2039
named net/minecraft/advancement/criterion/EnterBlockCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions(EntityPredicate.Extended 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
Lbi$a;a:Lbzo;
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
Lbi$a;b:Lcv;
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(EntityPredicate.Extended player, @Nullable @Nullable Block block, StatePredicate state)- Mappings:
Namespace Name Mixin selector official <init>
Lbi$a;<init>(Lbm$b;Lbzo;Lcv;)V
intermediary <init>
Lnet/minecraft/class_2037$class_2039;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_4559;)V
named <init>
Lnet/minecraft/advancement/criterion/EnterBlockCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/block/Block;Lnet/minecraft/predicate/StatePredicate;)V
-
-
Method Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lbi$a;a(Lbzo;)Lbi$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(Lcq;)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
Lbi$a;a(Lcks;)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
-