public final class InfraredAPIImpl extends java.lang.Object implements InfraredAPI
| Constructor and Description |
|---|
InfraredAPIImpl() |
| 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.
|
public InfraredPacket sendPacket(net.minecraft.world.World world, net.minecraft.util.Vec3 position, net.minecraft.util.Vec3 direction, short value)
InfraredAPIsendPacket in interface InfraredAPIworld - 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.