public interface IBlockAndCoordinateEventSensor extends IBaseSensor
| Modifier and Type | Method and Description |
|---|---|
int |
emitRedstoneOnEvent(net.minecraftforge.eventbus.api.Event event,
net.minecraft.tileentity.TileEntity sensor,
int range,
java.util.Set<net.minecraft.util.math.BlockPos> positions)
Extended version of the normal emitRedstoneOnEvent.
|
int |
getRedstonePulseLength()
|
getAdditionalInfo, getDescription, getRequiredUpgrades, getSensorPath, getTextboxIntRange, isEntityFilter, needsTextBoxint emitRedstoneOnEvent(net.minecraftforge.eventbus.api.Event event,
net.minecraft.tileentity.TileEntity sensor,
int range,
java.util.Set<net.minecraft.util.math.BlockPos> positions)
event - the Forge event (one of PlayerInteractEvent, EntityItemPickupEvent or AttackEntityEvent)sensor - the Universal Sensor tile entityrange - the Universal Sensor's range, in blockspositions - When a GPS Tool is inserted this contains the position of that tool. If a GPS Area Tool is
inserted this is set of all positions in that area.int getRedstonePulseLength()