Class PartReaderAspectTrigger.Instance

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

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

    Constructors
    Constructor
    Description
    Instance(net.minecraft.resources.ResourceLocation criterionIn, net.minecraft.advancements.critereon.ContextAwarePredicate player, IPartType partType, IAspect aspect)
     
  • Method Summary

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

    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, @Nullable IPartType partType, @Nullable IAspect aspect)
  • Method Details

    • test

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