public interface ILaserRelayConnectionHandler
The network system is built in a way that doesn't need the individual positions to be Laser Relays, it relies only on BlockPos
| Modifier and Type | Method and Description |
|---|---|
boolean |
addConnection(net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay,
LaserType type,
net.minecraft.world.World world) |
boolean |
addConnection(net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay,
LaserType type,
net.minecraft.world.World world,
boolean suppressConnectionRender) |
io.netty.util.internal.ConcurrentSet<IConnectionPair> |
getConnectionsFor(net.minecraft.util.math.BlockPos relay,
net.minecraft.world.World world) |
Network |
getNetworkFor(net.minecraft.util.math.BlockPos relay,
net.minecraft.world.World world) |
LaserType |
getTypeFromLaser(net.minecraft.util.math.BlockPos pos,
net.minecraft.world.World world) |
LaserType |
getTypeFromLaser(net.minecraft.tileentity.TileEntity tile) |
void |
removeConnection(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay) |
void |
removeRelayFromNetwork(net.minecraft.util.math.BlockPos relay,
net.minecraft.world.World world) |
io.netty.util.internal.ConcurrentSet<IConnectionPair> getConnectionsFor(net.minecraft.util.math.BlockPos relay, net.minecraft.world.World world)
void removeRelayFromNetwork(net.minecraft.util.math.BlockPos relay,
net.minecraft.world.World world)
Network getNetworkFor(net.minecraft.util.math.BlockPos relay, net.minecraft.world.World world)
boolean addConnection(net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay,
LaserType type,
net.minecraft.world.World world)
boolean addConnection(net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay,
LaserType type,
net.minecraft.world.World world,
boolean suppressConnectionRender)
void removeConnection(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos firstRelay,
net.minecraft.util.math.BlockPos secondRelay)
LaserType getTypeFromLaser(net.minecraft.tileentity.TileEntity tile)
LaserType getTypeFromLaser(net.minecraft.util.math.BlockPos pos, net.minecraft.world.World world)