CraftBook Extra Wiki
Advertisement
MCX144
File:SISO.png
IC Title AREA CBWARP
Type SISO
Inputs 1
Outputs 1
Restricted Yes
Added CBX v14.3


This will teleport the specified entity is within the area to a CBWarp location.


NOTE:
When teleporting entities other than players to a different Dimension (Nether, The End), the entities may end up deleted by the server.

  • A player needs to be around the destination, otherwise the area is not loaded by the server.
  • A player can teleport with an entity without the entity being deleted. Such as a player riding a minecart.


This is a manual teleport. [MCU144] is an automatic version that can be turned on and off.

Sign Settings[]

Quick Reference[]

line 1 @entity+rider
line 2 [MCX144]
line 3 CBWarp_name
line 4 width:height:length/x-offset:y-offset:z-offset
green text = OPTIONAL
everything else = REQUIRED

Details[]

  • Line 1:
    @entity+rider
    • REQUIRES @ as the first letter
      • This is to reserve data space for the IC
    • entity is the name or type of the entity to teleport
      • 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.


  • Line 3:
    CBWarp_name
    • CBWarp_name is the matching name to a CBWarp location
      • This is where the entity will teleport to.


  • 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.


Entity Values[]

The entity values that can be used:

Valid Entity List
Player
Entity Optional Values Description
P
PLY
PLAYER
  • :PLAYER_NAME
    • Specifies a specific player instead of any player
    • Names must be placed after ':'
    • Examples:
      • P:M4411K4
      • PLY:M4411K4
      • PLAYER:M4411K4
Player entities.
  • Either specific players or any players
G
GRP
GROUP
  • :GROUP_NAME
    • This is required
    • Specifies a specific player group
    • Group names must be placed after ':'
    • Examples:
      • G:admins
      • GRP:admins
      • GROUP:admins
Player entities within a specific group.
  • The group name must be added
Mob
Entity Optional Values Description
Mob Any hostile Mob entities.
  • Such as Creepers, Zombies, Spiders, etc
Animal Any animal Mob entities.
  • Such as Chickens, Cows, Pigs, etc
Vehicle
Entity Optional Values Description
MINECART
  • :MINECART_TYPE#
    • Specifies a specific type of minecart instead of any minecart
    • Types must be placed after ':'
    • 0 = Normal Minecart
    • 1 = Storage Minecart
    • 2 = Powered Minecart
    • Examples:
      • MINECART:0
      • MINECART:1
      • MINECART:2
Minecart entities.
  • Either a specific type, or any type of minecart.
BOAT Boat entities.
Item
Entity Optional Values Description
ITEM
  • :ITEM_ID#
    • Specifies a specific item instead of any item
    • Types must be placed after ':'
    • Item ID #'s can be found at:
    • Examples:
      • ITEM:3
      • ITEM:49
      • ITEM:57
    • Color values can also be added after '@'
    • Examples:
      • ITEM:35@5
      • ITEM:351@13
      • ITEM:17@2
Item drop entities.
  • Either a specific item drop type, or any type of item drop.
ARROW Shot arrow entities.
EGG Thrown egg entities.
SNOWBALL Thrown snowball entities.
FIREBALL Shot Ghast fireball entities.


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[]

File:IC input1.png

1 input

A / 1: Check and Teleport
When the input is toggled on, it will check if the specified entity is in the set area, and teleport them.


Outputs[]

File:IC output1.png

1 output

D / 1: Teleported
The output turns on if the specified entity was teleported, or turns off if no entity was teleported.


Optional Modes[]

none

Examples[]

The following examples will teleport to the CBWarp location "area2" which needs to be added first:

Warp Player[]

Basic sign setup to teleport Players (P) in a 3x1x3 area right above the IC block. The destination is area2.

1 @P
2 [MCX144]
3 area2
4


Warp Mobs[]

Basic sign setup to teleport hostile Mobs in a 3x1x3 area right above the IC block. The destination is area2.

1 @Mob
2 [MCX144]
3 area2
4


Warp Creepers[]

Basic sign setup to teleport Creepers in a 3x1x3 area right above the IC block. The destination is area2.

1 @Creeper
2 [MCX144]
3 area2
4


Warp dropped items[]

Basic sign setup to teleport dropped items in a 3x1x3 area right above the IC block. The destination is area2.

1 @Item
2 [MCX144]
3 area2
4


Warp dropped green wool[]

Basic sign setup to teleport dropped green wool (id# 35, color# 5) in a 3x1x3 area right above the IC block. The destination is area2.

1 @Item:35@5
2 [MCX144]
3 area2
4


Warp Animal riding a Minecart[]

Basic sign setup to teleport minecarts with an Animal riding it, in a 3x1x3 area right above the IC block. The destination is area2.

1 @Minecart+Animal
2 [MCX144]
3 area2
4


Warp Player riding a Saddled Pig[]

Basic sign setup to teleport saddled pigs with a player riding it, in a 3x1x3 area right above the IC block. The destination is area2.

1 @Pig:1+P
2 [MCX144]
3 area2
4


Warp Player in 3x6x5 area[]

Basic sign setup to teleport Players (P) in a 3x6x5 area right above the IC block. The destination is area2.

1 @P
2 [MCX144]
3 area2
4 3:6:5


Warp Player in 3x6x5 area and 4 x-offset, 2 y-offset, -7 z-offset[]

Basic sign setup to teleport 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. The destination is area2.

1 @P
2 [MCX144]
3 area2
4 3:6:5/4:2:-7


Gallery[]

Bugs[]

See Also[]

Advertisement