Class SetElementVisibilityInstruction

java.lang.Object
net.createmod.ponder.foundation.instruction.PonderInstruction
petrolpark.mc.library.core.client.ponder.instruction.SetElementVisibilityInstruction

public class SetElementVisibilityInstruction extends net.createmod.ponder.foundation.instruction.PonderInstruction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.createmod.ponder.api.element.ElementLink<? extends net.createmod.ponder.api.element.PonderElement>
     
    protected final boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SetElementVisibilityInstruction(net.createmod.ponder.api.element.ElementLink<?> link, boolean visibility)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    tick(net.createmod.ponder.foundation.PonderScene scene)
     

    Methods inherited from class net.createmod.ponder.foundation.instruction.PonderInstruction

    isBlocking, onScheduled, reset, simple

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • visibility

      protected final boolean visibility
  • Constructor Details

    • SetElementVisibilityInstruction

      public SetElementVisibilityInstruction(net.createmod.ponder.api.element.ElementLink<?> link, boolean visibility)
  • Method Details

    • isComplete

      public boolean isComplete()
      Specified by:
      isComplete in class net.createmod.ponder.foundation.instruction.PonderInstruction
    • tick

      public void tick(net.createmod.ponder.foundation.PonderScene scene)
      Specified by:
      tick in class net.createmod.ponder.foundation.instruction.PonderInstruction