MCX208 Advanced Door
Advanced Door | |
About | |
---|---|
ID | MCX208 |
Self Triggered | No |
Clickable | No |
Input | Yes |
Output | No |
Rail | No |
Sign Format | |
First line | DOOR |
Second line | [MCX208] |
Third line | item_id:code |
Fourth line | width:length:vertical_offset |
Craftbook Page |
This Craftbook mechanism places or removes a vertical area of the blocks specified on the sign when activated by a redstone signal.
This server modifies standard Craftbook by requiring that the area of the door contains no blocks of the type specified on the third line of the sign before activating the "door" for the first time. The area may contain blocks of any other type as they will be ignored by the mechanism. This is to prevent grief and exploits. If this restriction is not met the IC code on second line will be suffixed with a '*' (asterix) to indicate that there is a problem and the IC will not operate. It might look like an 'X' but it is an asterix.
A chest must be placed within 4 blocks of the sign loaded with enough blocks of the correct type to fill the area. If insufficient blocks are available the area will be filled starting with the blocks nearest the sign leaving the remaining area untouched. If there is a chest with space closer to the sign when the IC is deactivated this closer chest will receive the blocks removed from the area of the door.
If the sign is accepted as written the first line will be filled in with "Door" and a warning about blocks needing to be removed from the area before it will operate correctly will be displayed in the chat. Otherwise the sign will be dropped as an entity and a warning emitted in chat.
The sign must be placed on a block, it will not work if placed on the floor.
A special feature of the 208 operation is that stone or cobblestone blocks in the chest will be placed as Stone or Cobblestone depending on the item code on the third line of the sign. Both stone and cobblestone removed from the area upon deactivation will be stored as cobblestone.
The horizontal equivalent of this mechanism is MCX207 Advanced Bridge.
Details
- First line
- leave blank when creating the sign, filled in with "DOOR" when accepted
- Second line
- [MCX208]
- Third line
- Item_ID and (optionally) ": Colour Code" of the door material
- Fourth line
- Specifies the width, length (the door height), and optionally, a placement offset.
On the third line the Item ID is required and nearly any type of solid block can be used, including fence posts and glass blocks. Slabs of any kind will not work.
When the block type can have a colour, or other appearance options, the Colour Code is given following a colon (':') to separate it from the Type ID. Otherwise the colon and Colour code are not needed.
Maximum sizes of the door are 11 for the width, height 30, and if the offset is not specified it will be assumed to be zero, meaning the bottom row of the Door will be level with, and just behind the block with the sign on it. A negative offset places the door area below the level of the sign, and a positive above it.
Input
The only way to activate the mechanism is to have a redstone signal source next to the volume of the sign, not into the block it is placed on, but the sign itself. A powered block is not a redstone signal source so will not activate the IC, but a lever next to the sign will. Placing a redstone dust on the floor next to the sign and then powering it with, for instance, a button placed on a block, makes the redstone a source that will activate the IC, but it has to be directed at the sign from the powering source.
Right-clicking the sign will NOT operate it.
Examples
The following sign will make a 5 wide by 10 tall door out of stone (the block id of "1" on the second line) directly behind and above the block the sign is placed on.
[MCX208] 1 5:10
This one will make an 11 x 30 (maximum size) door out of stone directly above the sign.
[MCX208] 1 11:30:-1
And this a 1 x 3 door out of stone, one block behind and directly above the sign (see image example below).
[MCX208] 1 1:3:1
The following sign is showing the mark (the asterisk) on the second line that signals that the IC will not operate. This usually means that there are blocks of the specified type in the door area.
[MCX208]* 1 10:10