public final class InfraredAPI
extends java.lang.Object
This is made available in the init phase, so you'll either have to (soft) depend on TIS-3D or you must not make calls to this before the init phase.
| Modifier and Type | Method and Description |
|---|---|
static InfraredPacket |
sendPacket(net.minecraft.world.World world,
net.minecraft.util.Vec3 position,
net.minecraft.util.Vec3 direction,
short value)
Emit a new infrared packet with the specified value.
|
public static InfraredPacket sendPacket(net.minecraft.world.World world, net.minecraft.util.Vec3 position, net.minecraft.util.Vec3 direction, short value)
world - the world to spawn the packet in.position - the location to spawn the packet at.direction - the direction the packet shall travel in.value - the value the packet carries.