Class ConstructBeaconCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.ConstructBeaconCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
ConstructBeaconCriterion

public static class ConstructBeaconCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ay$a
intermediary net/minecraft/class_2006$class_2008
named net/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions
  • Field Details

    • level

      private final NumberRange.IntRange level
      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a:Lch$d;
      intermediary field_9508 Lnet/minecraft/class_2006$class_2008;field_9508:Lnet/minecraft/class_2096$class_2100;
      named level Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;level:Lnet/minecraft/predicate/NumberRange$IntRange;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, NumberRange.IntRange level)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lay$a;<init>(Lbm$b;Lch$d;)V
      intermediary <init> Lnet/minecraft/class_2006$class_2008;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2096$class_2100;)V
      named <init> Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/NumberRange$IntRange;)V
  • Method Details

    • create

      public static ConstructBeaconCriterion.Conditions create()
      Mappings:
      Namespace Name Mixin selector
      official c Lay$a;c()Lay$a;
      intermediary method_35110 Lnet/minecraft/class_2006$class_2008;method_35110()Lnet/minecraft/class_2006$class_2008;
      named create Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;create()Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;
    • level

      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a(Lch$d;)Lay$a;
      intermediary method_8818 Lnet/minecraft/class_2006$class_2008;method_8818(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_2006$class_2008;
      named level Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;level(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;
    • matches

      public boolean matches(int level)
      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a(I)Z
      intermediary method_8817 Lnet/minecraft/class_2006$class_2008;method_8817(I)Z
      named matches Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;matches(I)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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;