Interface IPhantomTile


public interface IPhantomTile
Extending this will cause a TileEntity to be able to be connected via a Phantom Connector
  • Method Details

    • hasBoundPosition

      boolean hasBoundPosition()
      Returns:
      If the Phantom Tile is currently bound to anything
    • isBoundThingInRange

      boolean isBoundThingInRange()
      Returns:
      If the Phantom Tile's bound position is in range
    • getBoundPosition

      net.minecraft.core.BlockPos getBoundPosition()
      Returns:
      The position this tile is bound to
    • setBoundPosition

      void setBoundPosition(net.minecraft.core.BlockPos pos)
      Sets the bound position
    • getRange

      int getRange()
      Returns:
      The range the tile currently has