Interface ILaserRelayConnectionHandler
public interface ILaserRelayConnectionHandler
This is the internal laser relay connection handler.
Use ActuallyAdditionsAPI.connectionHandler for calling
This is not supposed to be implemented.
The network system is built in a way that doesn't need the individual positions to be Laser Relays, it relies only on BlockPos
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world) booleanaddConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world, boolean suppressConnectionRender) booleanaddConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world, boolean suppressConnectionRender, boolean removeIfConnected) io.netty.util.internal.ConcurrentSet<IConnectionPair> getConnectionsFor(net.minecraft.core.BlockPos relay, net.minecraft.world.level.Level world) getNetworkFor(net.minecraft.core.BlockPos relay, net.minecraft.world.level.Level world) getTypeFromLaser(net.minecraft.core.BlockPos pos, net.minecraft.world.level.Level world) getTypeFromLaser(net.minecraft.world.level.block.entity.BlockEntity tile) voidremoveConnection(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay) voidremoveRelayFromNetwork(net.minecraft.core.BlockPos relay, net.minecraft.world.level.Level world)
-
Method Details
-
getConnectionsFor
io.netty.util.internal.ConcurrentSet<IConnectionPair> getConnectionsFor(net.minecraft.core.BlockPos relay, net.minecraft.world.level.Level world) -
removeRelayFromNetwork
void removeRelayFromNetwork(net.minecraft.core.BlockPos relay, net.minecraft.world.level.Level world) -
getNetworkFor
-
addConnection
boolean addConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world) -
addConnection
boolean addConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world, boolean suppressConnectionRender) -
addConnection
boolean addConnection(net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay, LaserType type, net.minecraft.world.level.Level world, boolean suppressConnectionRender, boolean removeIfConnected) -
removeConnection
void removeConnection(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos firstRelay, net.minecraft.core.BlockPos secondRelay) -
getTypeFromLaser
-
getTypeFromLaser
-