your current location:首页 > news>Sword MOD item NBT data shallow analysis of Slashblade (Slashblade) Minecraft Game

Sword MOD item NBT data shallow analysis of Slashblade (Slashblade) Minecraft Game

2024-12-10 17:54:11|Myriagame |source:minecraft skins

Basic concept:

All the items, blocks, and monsters of Minecraft are compressed in the map file in the data format of NBT

NBT's data format is similar to JSON (related concepts can be Baidu)

MOD's items also have related attributes and structures as the original items

Analysis environment:

The server used: cauldron-1.7.10-2.1403.1.54-server.jar

MOD used:

Bamboo_1.7.10-2.6.7.jar

weaponmod-1.14.3.jar

twilightforest-1.7.10-2.3.7.jar

Toyako-MC1.7.2-R1.jar

FLUORSCENTBAR-MC1.7.2-R3.jar

Slashblade-kirisaya-r1.jar

Slashbladewanderer-MC1.7.2-R1.jar

Slashblade-kamuy-MC1.7.10-R6.jar

Nihil-mc1.7.x-r6.jar

Frostwolf-MC1.7.2-R1.1.jar

Blademaster-MC1.7.2-R1.2.jar

Darkraven-MC1.7.2-R1.jar

Slashbladewa-MC1.7.2-R1.jar

Slashblade-MC1.7.10-R62.jar

Related plug -in:

PowerNBT

ESSENTAILS


The first is the corresponding data (sensitive to the case)

The main attributes of the items of the sword (and are directly modified) are::

property

NBT tag

Killcount

killcount

The soul of glory (propsoul)

Propsoulsa specialattacktype

Refine

REPAIRCOUNTERB-A-style attack power bonus basettackmodifier is the sheath Isnoscabbard whether to break the knife Isbroken to repair consumption (required experience) RepairCost

Among them, the numerical type is divided into three int (integer) Float (floating -point) byte (binary)


Related modification effect:

(The following modification is only applicable to the situation of using the PowerNBT plug -in in the online server and has the corresponding permissions. Please explore the offline modification and other NBT modification plugins.)

KillCount, Proudsoul, RepairCounter, RepairCost

Modify the number of enemies directly, Yaohun, Refine, repair the required experience

For example, modify the number of enemies, directly modify the int value, hold the knife on the hand, the instruction is /nbt item kllcount = 5000 other types of push


The modification of BaseAttackmodifier is similar to/nbt item basettackmodifier = 30.0


About the modification of the two attributes of Isnoscabbard Isbroken is not so casual

In fact, there are only two types of validity validity.

0 represents FALSE 1 for True

Take the broken knife in your hand instructions/nbt item isbroken = 0 to repair it to a normal state but will not resume durability


Modification of SA:

Take the knife on your hand, the instruction is /nbt item speciaLattackType = 2

Will modify the SA to a wave of swordsmanship

For other skills, please try the value by yourself.


What do you have to ask the enchantment? Enchant instructions are much more convenient than this


Related details and omissions hope that some classmates will help to add, I wish you all a happy (modified) happy