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 ck
intermediary net/minecraft/class_5282
named net/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion
  • Constructor Details

    • PlayerGeneratesContainerLootCriterion

      public PlayerGeneratesContainerLootCriterion()
  • Method Details

    • conditionsFromJson

      protected PlayerGeneratesContainerLootCriterion.Conditions conditionsFromJson(JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<PlayerGeneratesContainerLootCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lck;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lck$a;
      intermediary method_27991 Lnet/minecraft/class_5282;method_27991(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_5282$class_5283;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/PlayerGeneratesContainerLootCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;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 Lck;a(Lakr;Laew;)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