Class PartVariableDrivenAspectTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PartVariableDrivenAspectTrigger.Instance>
org.cyclops.integrateddynamics.advancement.criterion.PartVariableDrivenAspectTrigger
- All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<PartVariableDrivenAspectTrigger.Instance>
public class PartVariableDrivenAspectTrigger
extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<PartVariableDrivenAspectTrigger.Instance>
Triggers when a variable-driven part aspect is changed.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
net.minecraft.advancements.critereon.SimpleCriterionTrigger.SimpleInstance
Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
net.minecraft.advancements.CriterionTrigger.Listener<T extends net.minecraft.advancements.CriterionTriggerInstance>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<PartVariableDrivenAspectTrigger.Instance> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<PartVariableDrivenAspectTrigger.Instance> codec()
void
void
test
(net.minecraft.server.level.ServerPlayer player, PartVariableDrivenVariableContentsUpdatedEvent event) 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
-
Field Details
-
CODEC
-
-
Constructor Details
-
PartVariableDrivenAspectTrigger
public PartVariableDrivenAspectTrigger()
-
-
Method Details
-
codec
-
test
public void test(net.minecraft.server.level.ServerPlayer player, PartVariableDrivenVariableContentsUpdatedEvent event) -
onEvent
-