package net.minecraft.advancements.criterion;

import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
import net.minecraft.advancements.ICriterionTrigger;
import net.minecraft.advancements.PlayerAdvancements;
import net.minecraft.util.ResourceLocation;

public class ImpossibleTrigger implements ICriterionTrigger<ImpossibleTrigger.Instance> {
   private static final ResourceLocation ID = new ResourceLocation("impossible");

   public ResourceLocation getId() {
      return ID;
   }

   public void addListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> listener) {
   }

   public void removeListener(PlayerAdvancements playerAdvancementsIn, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> listener) {
   }

   public void removeAllListeners(PlayerAdvancements playerAdvancementsIn) {
   }

   public ImpossibleTrigger.Instance deserializeInstance(JsonObject json, JsonDeserializationContext context) {
      return new ImpossibleTrigger.Instance();
   }

   public static class Instance extends CriterionInstance {
      public Instance() {
         super(ImpossibleTrigger.ID);
      }
   }
}