|
Using MMOItems 5+ you may implement blocks with a custom texture. You can even them spawn and define how rare they are using [[World Gen Templates]], configure with what tool it should be broken by players, decide what it loots using MMOItems drop tables and bind a random amount of exp to it.
|
|
Using MMOItems 5+ you may implement blocks with a custom texture. You can even them spawn and define how rare they are using [[world generation templates|World Generation Templates]], configure with what tool it should be broken by players, decide what it loots using MMOItems drop tables and bind a random amount of exp to it.
|
|
|
|
|
|
## Creating and editing a custom block
|
|
## Creating and editing a custom block
|
|
You can browse current custom blocks using `/mi browse blocks`. When using the item browser, you may use the small item indicator at the bottom right of the GUI to switch to the Block Browser. Just like with the item browser, you can right click your custom blocks to edit them.
|
|
You can browse current custom blocks using `/mi browse blocks`. When using the item browser, you may use the small item indicator at the bottom right of the GUI to switch to the Block Browser. Just like with the item browser, you can right click your custom blocks to edit them.
|
... | @@ -17,4 +17,4 @@ Here is a config template from `blocks.yml` |
... | @@ -17,4 +17,4 @@ Here is a config template from `blocks.yml` |
|
```
|
|
```
|
|
`required-power` defines the pickaxe power your tool must have in order to break that block. If it is set to 3, players must use a tool with a `Pickaxe Power` higher than 3. When breaking a custom block, MMOItems rolls a random amount of exp chosen between `min-xp` and `max-xp` and spawns an exp orb on the block just like regular ores.
|
|
`required-power` defines the pickaxe power your tool must have in order to break that block. If it is set to 3, players must use a tool with a `Pickaxe Power` higher than 3. When breaking a custom block, MMOItems rolls a random amount of exp chosen between `min-xp` and `max-xp` and spawns an exp orb on the block just like regular ores.
|
|
|
|
|
|
`gen-template` is the custom block [[generation template|World Gen Templates]]. It defines where this block may spawn and how rare it is. |
|
`gen-template` is the custom block [[generation template|World Generation Templates]]. It defines where this block may spawn and how rare it is. |
|
\ No newline at end of file |
|
\ No newline at end of file |