Class ImpossibleTrigger
- java.lang.Object
-
- net.minecraft.advancements.criterion.ImpossibleTrigger
-
- All Implemented Interfaces:
ICriterionTrigger<ImpossibleTrigger.Instance>
public class ImpossibleTrigger extends java.lang.Object implements ICriterionTrigger<ImpossibleTrigger.Instance>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImpossibleTrigger.Instance
-
Nested classes/interfaces inherited from interface net.minecraft.advancements.ICriterionTrigger
ICriterionTrigger.Listener<T extends ICriterionInstance>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
ID
-
Constructor Summary
Constructors Constructor Description ImpossibleTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPlayerListener(PlayerAdvancements p_192165_1_, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> p_192165_2_)
ImpossibleTrigger.Instance
createInstance(com.google.gson.JsonObject p_230307_1_, ConditionArrayParser p_230307_2_)
ResourceLocation
getId()
void
removePlayerListener(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> p_192164_2_)
void
removePlayerListeners(PlayerAdvancements p_192167_1_)
-
-
-
Field Detail
-
ID
private static final ResourceLocation ID
-
-
Method Detail
-
getId
public ResourceLocation getId()
- Specified by:
getId
in interfaceICriterionTrigger<ImpossibleTrigger.Instance>
-
addPlayerListener
public void addPlayerListener(PlayerAdvancements p_192165_1_, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> p_192165_2_)
- Specified by:
addPlayerListener
in interfaceICriterionTrigger<ImpossibleTrigger.Instance>
-
removePlayerListener
public void removePlayerListener(PlayerAdvancements p_192164_1_, ICriterionTrigger.Listener<ImpossibleTrigger.Instance> p_192164_2_)
- Specified by:
removePlayerListener
in interfaceICriterionTrigger<ImpossibleTrigger.Instance>
-
removePlayerListeners
public void removePlayerListeners(PlayerAdvancements p_192167_1_)
- Specified by:
removePlayerListeners
in interfaceICriterionTrigger<ImpossibleTrigger.Instance>
-
createInstance
public ImpossibleTrigger.Instance createInstance(com.google.gson.JsonObject p_230307_1_, ConditionArrayParser p_230307_2_)
- Specified by:
createInstance
in interfaceICriterionTrigger<ImpossibleTrigger.Instance>
-
-