Class PartWriterAspectTrigger.Instance

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

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

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

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.server.level.ServerPlayer player, PartWriterAspectEvent 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, VariablePredicate variablePredicate)
  • Method Details

    • test

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