... | ... | @@ -8,10 +8,18 @@ Attributes |
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|--------------------------------|---------------|
|
|
|
| material | m | Any valid bukkit materialtype. | DIRT |
|
|
|
| material | m | The material for the block to be set to | [DIRT](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html "CLICK ME to view valid block materials") |
|
|
|
| data | md | Material data value. | 0 |
|
|
|
|
|
|
As of build 4018/4019 you can now setblock mmoitems custom blocks. An example is below. It would set the targetlocation to the mmoitems block with the id of 50.
|
|
|
| age | a | Sets the age of ageable blocks. If applied to sapplings, it instead sets the growth stage of the sappling. | 0 |
|
|
|
| waterlogged | | Whether or not the block is inside water | false |
|
|
|
| blockface | bf | The blockface the block will use | [NORTH](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/BlockFace.html "CLICK ME to view valid BlockFaces") |
|
|
|
| attachedface | af | The face of the block it's placed on | [WALL](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/FaceAttachable.AttachedFace.html "CLICK ME to view valid faces")|
|
|
|
| axis | | Orientation of the block | [Y](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Axis.html "CLICK ME to view valid axes")|
|
|
|
| bisectedhalf | bhalf | The half of a vertically bisected block | [TOP](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/Bisected.Half.html "CLICK ME to view valid values") |
|
|
|
| slabtype | sb | Represents what the state of the slab will be | [BOTTOM](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/type/Slab.Type.html "CLICK ME to view valid types") |
|
|
|
| stairshape | shape | The shape of the stair block | [STRAIGHT](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/type/Stairs.Shape.html "CLICK ME to view valid shapes") |
|
|
|
|
|
|
As of build 4018/4019 you can now setblock mmoitems custom blocks. An example is below. It would set the targetlocation to the mmoitems block with the id of 50. The following attributes: age, attachedface, axis, blockface, slabtype, stairshape, waterlogged, will be ignored when using MMOITEM blocks.
|
|
|
|
|
|
|
|
|
|
... | ... | |