-
-
Notifications
You must be signed in to change notification settings - Fork 1
Mining blocks
MiningLevels makes it too easy to configure which blocks have which properties. All levels can be found in config/blocks.json
.
You should always use the ingame block editor to edit blocks.
A block is defined as follows:
[
{
"materials": [
"DEEPSLATE_REDSTONE_ORE",
"REDSTONE_ORE"
],
"xp": 1,
"minLevel": 0
}
]
Persons who know json should understand this relatively easily. All others should always copy the inner object in the braces and adapt it.
You can adjust xp and the minimum level required to mine.
xp: An amount higher than 0 that a player receives if he destructs the specified block.
minLevel: The ordinal number of the level a player needs to be at least to mine the block. If every player should be able to mine it, just set this to 0.
materials: One or more names of materials in the format from this page. Only blocks are allowed.
To add a new mining block, just add a new element as shown in the following.
[
{
"materials": [
"DEEPSLATE_REDSTONE_ORE",
"REDSTONE_ORE"
],
"xp": 1,
"minLevel": 0
},
{
"materials": [
"DEEPSLATE_LAPIS_ORE",
"LAPIS_ORE"
],
"xp": 1,
"minLevel": 3
}
]
Each block needs to be separated by a comma.