Class ProgWidgetDroneConditionEnergy

All Implemented Interfaces:
IProgWidgetBase, ICondition, IJump, IProgWidget, IVariableSetWidget, IVariableWidget

public class ProgWidgetDroneConditionEnergy extends ProgWidgetDroneCondition
  • Constructor Details

    • ProgWidgetDroneConditionEnergy

      public ProgWidgetDroneConditionEnergy()
  • Method Details

    • getTexture

      public net.minecraft.resources.ResourceLocation getTexture()
    • getParameters

      public List<ProgWidgetType<?>> getParameters()
      Description copied from interface: IProgWidget
      Get the types of the widgets which connect to this widget on the right, in order (top to bottom). Note that the length of the widget array returned by IProgWidget.getConnectedParameters() will be double the length of this list, since these widgets can be added on both the right (whitelist) and left (blacklist) sides.
      Returns:
      a list of widget types, or an empty list if no widgets can be added to the side of this widget
    • getCount

      protected int getCount(IDroneBase drone, IProgWidget widget)
      Specified by:
      getCount in class ProgWidgetDroneCondition