public interface InfraredAPI
InfraredPackets and related tasks.| Modifier and Type | Method and Description |
|---|---|
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.
|
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.