mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Missing permission nodes + missing repair XP
This commit is contained in:
parent
4638f22ade
commit
b0ce6fb170
@ -1,4 +1,8 @@
|
|||||||
Version 2.1.131
|
Version 2.1.131
|
||||||
|
|
||||||
|
New permission node 'mcmmo.ability.repair.netheriterepair' which is included in the mcmmo.defaults permission package
|
||||||
|
New permission node 'mcmmo.ability.salvage.netheritesalvage' which is included in the mcmmo.defaults permission package
|
||||||
|
|
||||||
Added Basalt to Bonus Drops for Mining in config.yml (see notes)
|
Added Basalt to Bonus Drops for Mining in config.yml (see notes)
|
||||||
Added Polished Basalt to Bonus Drops for Mining in config.yml (see notes)
|
Added Polished Basalt to Bonus Drops for Mining in config.yml (see notes)
|
||||||
Added Blackstone to Bonus Drops for Mining in config.yml (see notes)
|
Added Blackstone to Bonus Drops for Mining in config.yml (see notes)
|
||||||
@ -24,10 +28,12 @@ Version 2.1.131
|
|||||||
Added Stripped Warped Hyphae to Bonus Drops for Woodcutting in config.yml (see notes)
|
Added Stripped Warped Hyphae to Bonus Drops for Woodcutting in config.yml (see notes)
|
||||||
|
|
||||||
Added Red Nether Bricks to Experience tables for Mining in experience.yml (see notes)
|
Added Red Nether Bricks to Experience tables for Mining in experience.yml (see notes)
|
||||||
|
Added Netherite to Experience tables for Repair in experience.yml (see notes)
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
|
|
||||||
This update adds an array of missing entries for bonus drops, without these entries double drops on these items/blocks will not happen.
|
This update adds quite a few missing entries for bonus drops, without these entries double drops on these items/blocks will not happen.
|
||||||
|
You should not need to edit your configs to receive these changes.
|
||||||
|
|
||||||
|
|
||||||
Version 2.1.130
|
Version 2.1.130
|
||||||
|
@ -81,7 +81,7 @@ public class RepairConfig extends ConfigLoader {
|
|||||||
else if (ItemUtils.isDiamondArmor(repairItem) || ItemUtils.isDiamondTool(repairItem)) {
|
else if (ItemUtils.isDiamondArmor(repairItem) || ItemUtils.isDiamondTool(repairItem)) {
|
||||||
repairMaterialType = MaterialType.DIAMOND;
|
repairMaterialType = MaterialType.DIAMOND;
|
||||||
} else if (ItemUtils.isNetheriteArmor(repairItem) || ItemUtils.isNetheriteTool(repairItem)) {
|
} else if (ItemUtils.isNetheriteArmor(repairItem) || ItemUtils.isNetheriteTool(repairItem)) {
|
||||||
repairMaterialType = MaterialType.NETHER;
|
repairMaterialType = MaterialType.NETHERITE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -76,7 +76,7 @@ public class SalvageConfig extends ConfigLoader {
|
|||||||
else if (ItemUtils.isDiamondArmor(salvageItem) || ItemUtils.isDiamondTool(salvageItem)) {
|
else if (ItemUtils.isDiamondArmor(salvageItem) || ItemUtils.isDiamondTool(salvageItem)) {
|
||||||
salvageMaterialType = MaterialType.DIAMOND;
|
salvageMaterialType = MaterialType.DIAMOND;
|
||||||
} else if (ItemUtils.isNetheriteTool(salvageItem) || ItemUtils.isNetheriteArmor(salvageItem)) {
|
} else if (ItemUtils.isNetheriteTool(salvageItem) || ItemUtils.isNetheriteArmor(salvageItem)) {
|
||||||
salvageMaterialType = MaterialType.NETHER;
|
salvageMaterialType = MaterialType.NETHERITE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -10,7 +10,7 @@ public enum MaterialType {
|
|||||||
IRON,
|
IRON,
|
||||||
GOLD,
|
GOLD,
|
||||||
DIAMOND,
|
DIAMOND,
|
||||||
NETHER,
|
NETHERITE,
|
||||||
OTHER;
|
OTHER;
|
||||||
|
|
||||||
public Material getDefaultMaterial() {
|
public Material getDefaultMaterial() {
|
||||||
@ -36,7 +36,7 @@ public enum MaterialType {
|
|||||||
case DIAMOND:
|
case DIAMOND:
|
||||||
return Material.DIAMOND;
|
return Material.DIAMOND;
|
||||||
|
|
||||||
case NETHER:
|
case NETHERITE:
|
||||||
if(Material.getMaterial("NETHERITE_SCRAP") != null)
|
if(Material.getMaterial("NETHERITE_SCRAP") != null)
|
||||||
return Material.getMaterial("NETHERITE_SCRAP");
|
return Material.getMaterial("NETHERITE_SCRAP");
|
||||||
else
|
else
|
||||||
|
@ -450,6 +450,7 @@ Experience_Values:
|
|||||||
Iron: 2.5
|
Iron: 2.5
|
||||||
Gold: 0.3
|
Gold: 0.3
|
||||||
Diamond: 5.0
|
Diamond: 5.0
|
||||||
|
Netherite: 6.0
|
||||||
Leather: 1.6
|
Leather: 1.6
|
||||||
String: 1.8
|
String: 1.8
|
||||||
Other: 1.5
|
Other: 1.5
|
||||||
|
@ -465,6 +465,7 @@ permissions:
|
|||||||
mcmmo.ability.repair.arcaneforging: true
|
mcmmo.ability.repair.arcaneforging: true
|
||||||
mcmmo.ability.repair.superrepair: true
|
mcmmo.ability.repair.superrepair: true
|
||||||
mcmmo.ability.repair.armorrepair: true
|
mcmmo.ability.repair.armorrepair: true
|
||||||
|
mcmmo.ability.repair.netheriterepair: true
|
||||||
mcmmo.ability.repair.diamondrepair: true
|
mcmmo.ability.repair.diamondrepair: true
|
||||||
mcmmo.ability.repair.goldrepair: true
|
mcmmo.ability.repair.goldrepair: true
|
||||||
mcmmo.ability.repair.ironrepair: true
|
mcmmo.ability.repair.ironrepair: true
|
||||||
@ -481,6 +482,8 @@ permissions:
|
|||||||
description: Allows access to the Arcane Forging ability
|
description: Allows access to the Arcane Forging ability
|
||||||
mcmmo.ability.repair.armorrepair:
|
mcmmo.ability.repair.armorrepair:
|
||||||
description: Allows ability to repair armor
|
description: Allows ability to repair armor
|
||||||
|
mcmmo.ability.repair.netheriterepair:
|
||||||
|
description: Allows ability to repair Netherite tools & armor
|
||||||
mcmmo.ability.repair.diamondrepair:
|
mcmmo.ability.repair.diamondrepair:
|
||||||
description: Allows ability to repair Diamond tools & armor
|
description: Allows ability to repair Diamond tools & armor
|
||||||
mcmmo.ability.repair.goldrepair:
|
mcmmo.ability.repair.goldrepair:
|
||||||
@ -517,6 +520,7 @@ permissions:
|
|||||||
mcmmo.ability.salvage.arcanesalvage: true
|
mcmmo.ability.salvage.arcanesalvage: true
|
||||||
mcmmo.ability.salvage.armorsalvage: true
|
mcmmo.ability.salvage.armorsalvage: true
|
||||||
mcmmo.ability.salvage.diamondsalvage: true
|
mcmmo.ability.salvage.diamondsalvage: true
|
||||||
|
mcmmo.ability.salvage.netheritesalvage: true
|
||||||
mcmmo.ability.salvage.goldsalvage: true
|
mcmmo.ability.salvage.goldsalvage: true
|
||||||
mcmmo.ability.salvage.ironsalvage: true
|
mcmmo.ability.salvage.ironsalvage: true
|
||||||
mcmmo.ability.salvage.leathersalvage: true
|
mcmmo.ability.salvage.leathersalvage: true
|
||||||
@ -532,6 +536,8 @@ permissions:
|
|||||||
description: Allows access to the Arcane Salvage ability
|
description: Allows access to the Arcane Salvage ability
|
||||||
mcmmo.ability.salvage.armorsalvage:
|
mcmmo.ability.salvage.armorsalvage:
|
||||||
description: Allows ability to salvage armor
|
description: Allows ability to salvage armor
|
||||||
|
mcmmo.ability.salvage.netheritesalvage:
|
||||||
|
description: Allows ability to salvage Netherite tools & armor
|
||||||
mcmmo.ability.salvage.diamondsalvage:
|
mcmmo.ability.salvage.diamondsalvage:
|
||||||
description: Allows ability to salvage Diamond tools & armor
|
description: Allows ability to salvage Diamond tools & armor
|
||||||
mcmmo.ability.salvage.goldsalvage:
|
mcmmo.ability.salvage.goldsalvage:
|
||||||
|
Loading…
Reference in New Issue
Block a user