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