Class NetworkInitializedTrigger
java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<NetworkInitializedTrigger.Instance>
org.cyclops.integrateddynamics.advancement.criterion.NetworkInitializedTrigger
- All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<NetworkInitializedTrigger.Instance>
public class NetworkInitializedTrigger
extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<NetworkInitializedTrigger.Instance>
Triggers when a network is initialized.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
net.minecraft.advancements.critereon.SimpleCriterionTrigger.SimpleInstanceNested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger
net.minecraft.advancements.CriterionTrigger.Listener<T extends net.minecraft.advancements.CriterionTriggerInstance> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NetworkInitializedTrigger.Instance> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<NetworkInitializedTrigger.Instance> codec()voidonCrafted(NetworkInitializedEvent event) voidtest(net.minecraft.server.level.ServerPlayer player, NetworkInitializedEvent event) Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger
addPlayerListener, removePlayerListener, removePlayerListeners, triggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.advancements.CriterionTrigger
createCriterion
-
Field Details
-
CODEC
-
-
Constructor Details
-
NetworkInitializedTrigger
public NetworkInitializedTrigger()
-
-
Method Details
-
codec
-
test
-
onCrafted
-