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