Class PlayerGeneratesContainerLootCriterion

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
net.minecraft.advancement.criterion.PlayerGeneratesContainerLootCriterion
All Implemented Interfaces:
Criterion<PlayerGeneratesContainerLootCriterion.Conditions>

public class PlayerGeneratesContainerLootCriterion extends AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
Mappings:
Namespace Name
official ci
intermediary net/minecraft/class_5282
named net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lci;a:Laaj;
      intermediary field_24502 Lnet/minecraft/class_5282;field_24502:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • PlayerGeneratesContainerLootCriterion

      public PlayerGeneratesContainerLootCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Laaj;
      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

      protected PlayerGeneratesContainerLootCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lci;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lci$a;
      intermediary method_27991 Lnet/minecraft/class_5282;method_27991(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_5282$class_5283;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lci;a(Lafp;Laaj;)V
      intermediary method_27993 Lnet/minecraft/class_5282;method_27993(Lnet/minecraft/class_3222;Lnet/minecraft/class_2960;)V
      named trigger Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/Identifier;)V