Class ImpossibleTrigger
java.lang.Object
net.minecraft.advancements.critereon.ImpossibleTrigger
- All Implemented Interfaces:
CriterionTrigger<ImpossibleTrigger.TriggerInstance>
public class ImpossibleTrigger
extends Object
implements CriterionTrigger<ImpossibleTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayerListener
(PlayerAdvancements p_41565_, CriterionTrigger.Listener<ImpossibleTrigger.TriggerInstance> p_41566_) createInstance
(com.google.gson.JsonObject p_41569_, DeserializationContext p_41570_) getId()
void
removePlayerListener
(PlayerAdvancements p_41572_, CriterionTrigger.Listener<ImpossibleTrigger.TriggerInstance> p_41573_) void
removePlayerListeners
(PlayerAdvancements p_41563_)
-
Field Details
-
ID
-
-
Constructor Details
-
ImpossibleTrigger
public ImpossibleTrigger()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceCriterionTrigger<ImpossibleTrigger.TriggerInstance>
-
addPlayerListener
public void addPlayerListener(PlayerAdvancements p_41565_, CriterionTrigger.Listener<ImpossibleTrigger.TriggerInstance> p_41566_) - Specified by:
addPlayerListener
in interfaceCriterionTrigger<ImpossibleTrigger.TriggerInstance>
-
removePlayerListener
public void removePlayerListener(PlayerAdvancements p_41572_, CriterionTrigger.Listener<ImpossibleTrigger.TriggerInstance> p_41573_) - Specified by:
removePlayerListener
in interfaceCriterionTrigger<ImpossibleTrigger.TriggerInstance>
-
removePlayerListeners
- Specified by:
removePlayerListeners
in interfaceCriterionTrigger<ImpossibleTrigger.TriggerInstance>
-
createInstance
public ImpossibleTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_41569_, DeserializationContext p_41570_) - Specified by:
createInstance
in interfaceCriterionTrigger<ImpossibleTrigger.TriggerInstance>
-