Class ConstructBeaconCriterion

All Implemented Interfaces:
Criterion<ConstructBeaconCriterion.Conditions>

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

    • ConstructBeaconCriterion

      public ConstructBeaconCriterion()
  • Method Details

    • conditionsFromJson

      public ConstructBeaconCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<ConstructBeaconCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lba;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lba$a;
      intermediary method_8811 Lnet/minecraft/class_2006;method_8811(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2006$class_2008;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/ConstructBeaconCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;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 Lba;a(Lakr;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