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 interface net.minecraft.advancements.CriterionTrigger
net.minecraft.advancements.CriterionTrigger.Listener<T extends net.minecraft.advancements.CriterionTriggerInstance>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(com.google.gson.JsonObject json, net.minecraft.advancements.critereon.ContextAwarePredicate entityPredicate, net.minecraft.advancements.critereon.DeserializationContext conditionsParser) net.minecraft.resources.ResourceLocation
getId()
void
void
test
(net.minecraft.server.level.ServerPlayer player, LogicProgrammerVariableFacadeCreatedEvent event) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger
-
Constructor Details
-
VariableCreatedTrigger
public VariableCreatedTrigger()
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId() -
createInstance
public VariableCreatedTrigger.Instance createInstance(com.google.gson.JsonObject json, net.minecraft.advancements.critereon.ContextAwarePredicate entityPredicate, net.minecraft.advancements.critereon.DeserializationContext conditionsParser) - Specified by:
createInstance
in classnet.minecraft.advancements.critereon.SimpleCriterionTrigger<VariableCreatedTrigger.Instance>
-
test
public void test(net.minecraft.server.level.ServerPlayer player, LogicProgrammerVariableFacadeCreatedEvent event) -
onEvent
-