Interface IEntityProvider

All Known Implementing Classes:
ProgWidgetAreaItemBase, ProgWidgetBlockCondition, ProgWidgetBlockRightClick, ProgWidgetCC, ProgWidgetCondition, ProgWidgetCustomBlockInteract, ProgWidgetDig, ProgWidgetDigAndPlace, ProgWidgetDroneConditionEntity, ProgWidgetDropItem, ProgWidgetEditSign, ProgWidgetEnergyCondition, ProgWidgetEnergyExport, ProgWidgetEnergyImport, ProgWidgetEntityAttack, ProgWidgetEntityCondition, ProgWidgetEntityExport, ProgWidgetEntityImport, ProgWidgetEntityRightClick, ProgWidgetExternalProgram, ProgWidgetForEachCoordinate, ProgWidgetHarvest, ProgWidgetInventoryBase, ProgWidgetInventoryExport, ProgWidgetInventoryImport, ProgWidgetItemInventoryCondition, ProgWidgetLightCondition, ProgWidgetLiquidExport, ProgWidgetLiquidImport, ProgWidgetLiquidInventoryCondition, ProgWidgetLogistics, ProgWidgetPickupItem, ProgWidgetPlace, ProgWidgetPressureCondition, ProgWidgetRedstoneCondition

public interface IEntityProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Most, but not all, widgets have the entity filter attached as the second piece (area as the first)
    List<net.minecraft.world.entity.Entity>
    getValidEntities(net.minecraft.world.level.Level world)
     
    boolean
    isEntityValid(net.minecraft.world.entity.Entity entity)
     
  • Method Details

    • getValidEntities

      List<net.minecraft.world.entity.Entity> getValidEntities(net.minecraft.world.level.Level world)
    • isEntityValid

      boolean isEntityValid(net.minecraft.world.entity.Entity entity)
    • getEntityFilterPosition

      default int getEntityFilterPosition()
      Most, but not all, widgets have the entity filter attached as the second piece (area as the first)
      Returns:
      the 0-based position of the entity filter Text widget