2024-12-10 17:53:42|Myriagame |source:minecraft skins
This tutorial is set by the author to use the CC by-NC protocol.
Label system
PMMO supports the Minecraft label (TAG) system.When modifying the PMMO JSON configuration file, you can use labels reasonably to reduce the duplicate workload.At the same time, you can use Kubejs or Crafttwerker to obtain the existing labels of the item, delete the label and increase the label.
Use Kubejs to add labels. You need to create a new JS script file in Kubejs/Server_Scripts/folder.use
Onevent ('tags.Items', event => {Event.add ('item: combat/Iron', 'MINECRAFT: Iron_sword'),
// Increase the item tag
Event.add ('item: olon', '#forge: ore/Iron'),
// Add new labels in the items in the label
Event.remove ('item: olon', 'minecraft: Iron_ore')
// Remove the label
})
// When using it, pay attention to the grammar format of JS.
Crafttwerker's modification of labels can be viewed.
In PMMO's JSON configuration, you can use the corresponding label through "#item: ol/Iron" and assign a value to the items in the label.
Biological group
In PMMO, BUFF/Debuff can be set up to enter the biological group system, the skill level required for the biological group, the biological properties in the biological group, and the adjustment of experience value rewards.
In the config/pmmo folder
biome_mob_multiplier.json storage the biological properties multiplier in the biological group, supporting speed (Speedbonus), HPBONUS, and DamageBonus.
biome_effect_position.json is stored in the BUFF effect obtained in the biological group.Support the BUFF effect in the original and other modules.
Biome_effect_negative.json is stored in the debuff effect obtained by the biological group.Support the Debuff effect in the original and other modules.
Req_biome.json is stored in the skill level of the biological group.The effect under the default PMMO-COMMON.TOML configuration file is that entering the biological group that does not meet the skill level will reduce the experience value acquisition by 50%.
XP_BONUS_BIOME.JSON stores the skill experience reward effect of the skill experience in the biological group, which supports the increase of the acquisition of skill experience and the rate of reduction of skill experience.
Experience
XP_BONUS is adjusted by obtaining skill experience values with files starting with XP_BONUS. If the value is positive, it is the acquisition of skill experience.[It should be the effect, I will correct this description after being tested]
XP_Value's files that start with XP_VALUE are the basic values of the skill experience value obtained after completing matters.This value is the basic value displayed on the item. The actual value of the value requires the adjustment of the empirical values in the PMMO-COMMON.TOML file and the adjustment of the XP_BONUS section.The file only needs to be stated in the file and the type of experience obtained. The type of specific events needs to be judged according to the name of the file.For example, XP_VALUE_KILL.JSON file is the experience value of killing creatures.
Before continuing.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22