Class ChangeDimensionTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<ChangeDimensionTrigger.TriggerInstance>
net.minecraft.advancements.critereon.ChangeDimensionTrigger
- All Implemented Interfaces:
CriterionTrigger<ChangeDimensionTrigger.TriggerInstance>
public class ChangeDimensionTrigger
extends SimpleCriterionTrigger<ChangeDimensionTrigger.TriggerInstance>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
CriterionTrigger.Listener<T extends CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<ChangeDimensionTrigger.TriggerInstance> codec()
void
trigger
(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, removePlayerListener, removePlayerListeners, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Constructor Details
-
ChangeDimensionTrigger
public ChangeDimensionTrigger()
-
-
Method Details
-
codec
-
trigger
public void trigger(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_)
-