Class NetherTravelTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<NetherTravelTrigger.TriggerInstance>
net.minecraft.advancements.critereon.NetherTravelTrigger
- All Implemented Interfaces:
CriterionTrigger<NetherTravelTrigger.TriggerInstance>
public class NetherTravelTrigger
extends SimpleCriterionTrigger<NetherTravelTrigger.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 TypeMethodDescriptioncreateInstance(com.google.gson.JsonObject p_58447_, EntityPredicate.Composite p_58448_, DeserializationContext p_58449_)
getId()
void
trigger(ServerPlayer p_58440_, Vec3 p_58441_)
Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Field Details
-
ID
-
-
Constructor Details
-
NetherTravelTrigger
public NetherTravelTrigger()
-
-
Method Details
-
getId
-
createInstance
public NetherTravelTrigger.TriggerInstance createInstance(com.google.gson.JsonObject p_58447_, EntityPredicate.Composite p_58448_, DeserializationContext p_58449_)- Specified by:
createInstance
in classSimpleCriterionTrigger<NetherTravelTrigger.TriggerInstance>
-
trigger
-