public interface InfraredAPI
InfraredPackets and related tasks.| Modifier and Type | Method and Description |
|---|---|
InfraredPacket |
sendPacket(net.minecraft.world.World world,
net.minecraft.util.math.Vec3d position,
net.minecraft.util.math.Vec3d direction,
short value)
Emit a new infrared packet with the specified value.
|
InfraredPacket sendPacket(net.minecraft.world.World world, net.minecraft.util.math.Vec3d position, net.minecraft.util.math.Vec3d 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.