public class RedstoneLinkNetworkHandler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RedstoneLinkNetworkHandler.Frequency |
| Constructor and Description |
|---|
RedstoneLinkNetworkHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToNetwork(net.minecraft.world.IWorld world,
IRedstoneLinkable actor) |
java.util.Set<IRedstoneLinkable> |
getNetworkOf(net.minecraft.world.IWorld world,
IRedstoneLinkable actor) |
java.util.Map<org.apache.commons.lang3.tuple.Pair<RedstoneLinkNetworkHandler.Frequency,RedstoneLinkNetworkHandler.Frequency>,java.util.Set<IRedstoneLinkable>> |
networksIn(net.minecraft.world.IWorld world) |
void |
onLoadWorld(net.minecraft.world.IWorld world) |
void |
onUnloadWorld(net.minecraft.world.IWorld world) |
void |
removeFromNetwork(net.minecraft.world.IWorld world,
IRedstoneLinkable actor) |
void |
updateNetworkOf(net.minecraft.world.IWorld world,
IRedstoneLinkable actor) |
static boolean |
withinRange(IRedstoneLinkable from,
IRedstoneLinkable to) |
public void onLoadWorld(net.minecraft.world.IWorld world)
public void onUnloadWorld(net.minecraft.world.IWorld world)
public java.util.Set<IRedstoneLinkable> getNetworkOf(net.minecraft.world.IWorld world, IRedstoneLinkable actor)
public void addToNetwork(net.minecraft.world.IWorld world,
IRedstoneLinkable actor)
public void removeFromNetwork(net.minecraft.world.IWorld world,
IRedstoneLinkable actor)
public void updateNetworkOf(net.minecraft.world.IWorld world,
IRedstoneLinkable actor)
public static boolean withinRange(IRedstoneLinkable from, IRedstoneLinkable to)
public java.util.Map<org.apache.commons.lang3.tuple.Pair<RedstoneLinkNetworkHandler.Frequency,RedstoneLinkNetworkHandler.Frequency>,java.util.Set<IRedstoneLinkable>> networksIn(net.minecraft.world.IWorld world)