Class ConstructBeaconCriterion

All Implemented Interfaces:
Criterion<ConstructBeaconCriterion.Conditions>

public class ConstructBeaconCriterion extends AbstractCriterion<ConstructBeaconCriterion.Conditions>
Mappings:
Namespace Name
official ay
intermediary net/minecraft/class_2006
named net/minecraft/advancement/criterion/ConstructBeaconCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a:Lacq;
      intermediary field_9504 Lnet/minecraft/class_2006;field_9504:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ConstructBeaconCriterion

      public ConstructBeaconCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lal;a()Lacq;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public ConstructBeaconCriterion.Conditions conditionsFromJson(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ConstructBeaconCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lay$a;
      intermediary method_8811 Lnet/minecraft/class_2006;method_8811(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2006$class_2008;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, int level)
      Mappings:
      Namespace Name Mixin selector
      official a Lay;a(Laig;I)V
      intermediary method_8812 Lnet/minecraft/class_2006;method_8812(Lnet/minecraft/class_3222;I)V
      named trigger Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;I)V