MCU140 | |
---|---|
File:UISO.png | |
IC Title | IN AREA |
Type | UISO |
Inputs | 0 and 1 |
Outputs | 1 |
Restricted | Yes |
Added | CBX v14.3 |
This will detect if the specified entity is within the area.
This is an automatic check. [MCX140] is a manual version that checks only when toggled.
Sign Settings[]
Quick Reference[]
|
||||||||
|
Details[]
- Line 3:
entity+rider- entity is the name or type of the entity to detect
- If using a name, the name must be exactly the same as listed. Such as "Pig" and not "pig"
- Color types and other data values can be added by putting a @ after the entity name.
- A red colored sheep would be added as: Sheep@14
- rider is the optional rider on the entity.
- Riders use the same names and types as entity.
- If a rider is added, both the entity and the rider are required for the check.
- If the check is for a minecart and a riding player, an empty minecart will fail the check, but a minecart with a player riding the minecart will pass and toggle the output.
- entity is the name or type of the entity to detect
- Line 4:
width:height:length/x-offset:y-offset:z-offset- width:height:length is the optional size of the area.
- Each size value must be a number from 1 to 16.
- If setting the width, height, length, or any offset, all 3 (width, height, length) must be set.
- If left blank, the sizes will be:
- 3:1:3
- Max size values can be limited with the craftbook.properties setting: ic-in-area-max-length
- x-offset:y-offset:z-offset is the offset for where the area is located.
- Each offset value must be a number from -10 to 10.
- These values do not need to be added unless the offsets need to be changed.
- If setting the x-offset, y-offset, or z-offset, all 3 (x-offset, y-offset, z-offset) must be set.
- If left blank, the offsets will be:
- 0:1:0
- This places the area above the IC block.
- width:height:length is the optional size of the area.
Entity Values[]
The entity values that can be used:
Valid Entity List | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
| |||||||||||||||||||||
| |||||||||||||||||||||
|
In addition, the following Mob names can be used:
Spawn Mob List (quick ref) | |||
---|---|---|---|
Friendly/Neutral | |||
Chicken | Cow | MushroomCow | Ozelot |
Pig | Sheep | SnowMan | Squid |
Villager | VillagerGolem | Wolf | |
Hostile | |||
Blaze | CaveSpider | Creeper | Enderman |
Ghast | Giant | LavaSlime | Monster |
PigZombie | Silverfish | Skeleton | Slime |
Spider | Zombie |
Inputs[]
A / 1: | Check When the input is toggled on, it will start checking if the specified entity is in the set area, or enters the set area. |
---|
Outputs[]
D / 1: | Found The output turns on if the specified entity is in the area, or turns off if the entity was not found in the area. |
---|
Optional Modes[]
none
Examples[]
Detect Player[]
Basic sign setup to detect Players (P) in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | P |
4 |
Detect Mobs[]
Basic sign setup to detect hostile Mobs in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Mob |
4 |
Detect Creepers[]
Basic sign setup to detect Creepers in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Creeper |
4 |
Detect dropped items[]
Basic sign setup to detect dropped items in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Item |
4 |
Detect dropped green wool[]
Basic sign setup to detect dropped green wool (id# 35, color# 5) in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Item:35@5 |
4 |
Detect Animal riding a Minecart[]
Basic sign setup to detect minecarts with an Animal riding it, in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Minecart+Animal |
4 |
Detect Player riding a Saddled Pig[]
Basic sign setup to detect saddled pigs with a player riding it, in a 3x1x3 area right above the IC block.
1 | |
2 | [MCU140] |
3 | Pig:1+P |
4 |
Detect Player in 3x6x5 area[]
Basic sign setup to detect Players (P) in a 3x6x5 area right above the IC block.
1 | |
2 | [MCU140] |
3 | P |
4 | 3:6:5 |
Detect Player in 3x6x5 area and 4 x-offset, 2 y-offset, -7 z-offset[]
Basic sign setup to detect Players (P) in a 3x6x5 area with an offset from the IC block of 4 in the x direction, 2 up in the y direction, and -7 in the z direction.
1 | |
2 | [MCU140] |
3 | P |
4 | 3:6:5/4:2:-7 |