Class PartWriterAspectTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PartWriterAspectTrigger.Instance>
org.cyclops.integrateddynamics.advancement.criterion.PartWriterAspectTrigger
- All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<PartWriterAspectTrigger.Instance>
public class PartWriterAspectTrigger
extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<PartWriterAspectTrigger.Instance>
Triggers when a part writer aspect is set.
-
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
<PartWriterAspectTrigger.Instance> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<PartWriterAspectTrigger.Instance> codec()
void
onEvent
(PartWriterAspectEvent event) void
test
(net.minecraft.server.level.ServerPlayer player, PartWriterAspectEvent 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
-
PartWriterAspectTrigger
public PartWriterAspectTrigger()
-
-
Method Details
-
codec
-
test
-
onEvent
-