public interface InfraredReceiver
Things checked for this interface are:
Things checked for capabilities of this type are:
EntityTileEntityFor compatibility, entities and tile entities implementing this interface will have the corresponding capability attached automatically.
Note that for non-opaque blocks, defined as !Material.blocksMovement() ||
!Material.isOpaque() || !Material.blocksLight())) this will
never be called, as they will be skipped when performing a collision check!
| Modifier and Type | Method and Description |
|---|---|
void |
onInfraredPacket(InfraredPacket packet,
net.minecraft.util.MovingObjectPosition hit)
Called when an infrared packet collides with this.
|
void onInfraredPacket(InfraredPacket packet, net.minecraft.util.MovingObjectPosition hit)
packet - the packet that collided with this.hit - the information on the hit.