blob: aebb9e91efd3c5fc9a38dbc1be4027388bea57e0 [file] [log] [blame] [raw]
package li.cil.oc.common.tileentity
import li.cil.oc.api
import li.cil.oc.api.network.{Node, Message, Visibility}
class Router extends net.minecraft.tileentity.TileEntity with api.network.Environment {
val node = api.Network.newNode(this, Visibility.None).create()
def onMessage(message: Message) {
}
def onDisconnect(node: Node) {
}
def onConnect(node: Node) {
}
}