Class NetworkInitializedTrigger.Instance

java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
org.cyclops.integrateddynamics.advancement.criterion.NetworkInitializedTrigger.Instance
All Implemented Interfaces:
net.minecraft.advancements.CriterionTriggerInstance, org.cyclops.cyclopscore.advancement.criterion.ICriterionInstanceTestable<NetworkInitializedEvent>
Enclosing class:
NetworkInitializedTrigger

public static class NetworkInitializedTrigger.Instance extends net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance implements org.cyclops.cyclopscore.advancement.criterion.ICriterionInstanceTestable<NetworkInitializedEvent>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instance(net.minecraft.resources.ResourceLocation criterionIn, net.minecraft.advancements.critereon.ContextAwarePredicate player, int minCablesCount)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.server.level.ServerPlayer player, NetworkInitializedEvent networkEvent)
     

    Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance

    getCriterion, getPlayerPredicate, serializeToJson, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.advancements.CriterionTriggerInstance

    getCriterion, serializeToJson
  • Constructor Details

    • Instance

      public Instance(net.minecraft.resources.ResourceLocation criterionIn, net.minecraft.advancements.critereon.ContextAwarePredicate player, int minCablesCount)
  • Method Details

    • test

      public boolean test(net.minecraft.server.level.ServerPlayer player, NetworkInitializedEvent networkEvent)
      Specified by:
      test in interface org.cyclops.cyclopscore.advancement.criterion.ICriterionInstanceTestable<NetworkInitializedEvent>