2024-12-10 17:48:53|Myriagame |source:minecraft skins
1.12.2 The epic combat of version is compatible, no matter what MOD weapon is default, it is a fist attack method
This has led me to use better battles when playing: rebirth plus more curved to fight,
But it really is not as good as the EP. I was watching the half -day tutorial (https://www.mcmod.cn/post/1798.html))
After that, I found that the code that I went in according to the tutorial can not work
Because the configuration file of the epic battle cannot even appear even a space error, otherwise the code you compiled will be abolished.
Today, I will take a look at the precautions and ask you to wake you up
1.
Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
This is a piece of compilation, part of the adaptation file of the diamond sword in the Sparta weapon (cannot be used directly), of which the blue part is the MOD name (Modid), and the red part is the registration of the item.The table name (registryname), before it was well edited, it was like this
Sample_weapon2 {
S: registry_name = modid: registryname
We want to change the Modid: Registryname to ID in the same format as the/Give instruction, such as Minecraft: Stick (wooden stick)
2.
CUSTOM_WEAPONRY {
Sample_weapon1 {
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_Strikes = 1
S: registry_name = modid: registryname
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Sword
} Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
}
}
Is this a complete custom weapon file?No adjectives, for the time being called file 1
If you want to add another weapon, what we have to do is to copy the previous copy and paste it below. This step is the most error -prone.
CUSTOM_WEAPONRY {
Sample_weapon1 {
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_strikes = 1 s: registry_name = modid: registryname
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Sword
}
Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
}
Sample_weapon3 {
S: registry_name = Spartanweaponry: xxxxxxxxx: xxxx
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_strikes =
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
Let's look at the lonely brackets of the marked red first, and the file 1 is compared with the file. The file 1 is "three people in the group".The reason for this error is that the brackets of the previous file were not copied, resulting in the result of the two parentheses.CUSTOM_WEAPONRY {
Sample_weapon1 {
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_Strikes = 1
S: registry_name = modid: registryname
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Sword
}
Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword Onehand {
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
}
}
Sample_weapon3 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
} Twohand {
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
}
Is this one less?The reason is that the place of copy is wrong.Note that there are 3 right brackets of Sample_weapon3.We should paste the copying things behind the second big bracket.
Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1}
}
Sample_weapon3 {
S: registry_name = minecraft: stick
S: weapon_type = Sword
Onehand {{
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.2
D: Impact = 0.7
I: max_Strikes = 3
}
}
}
This is the second and third parts of the file 4. His mistake is in the two places in the two benchmarks. It may not be seen in the encyclopedia.
The part of the blue circles in the blue, there is no space at first glance, and it should be empty.The following is the correct demonstration
CUSTOM {
CUSTOM_WEAPONRY {
Sample_weapon1 {
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_Strikes = 1
S: registry_name = modid: registryname
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword # Spear
# Greatsword
# Katana
S: weapon_type = Sword
}
Sample_weapon2 {
S: Registry_name = Spartanweaponry: Longsword_diamond
# Valid Values:
# AXE
# FIST
# Hoe
# Pickaxe
# Shovel
# Sword
# Spear
# Greatsword
# Katana
S: weapon_type = Greatsword
Onehand {{
D: Armor_negation = 1
D: Impact = 1.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.5
D: Impact = 1.5
I: max_Strikes = 1
}
}
Sample_weapon3 {
S: registry_name = minecraft: stick s: weapon_type = Sword
Onehand {{
D: Armor_negation = 0.0
D: IMPACT = 0.5
I: max_Strikes = 1
}
Twohand {{
D: Armor_negation = 1.2
D: Impact = 0.7
I: max_Strikes = 3
}
}
}
I encounter roughly these problems, I hope it will be helpful to everyone.(If you have any questions, you can ask me in the comments, but I am a primary school student after all, and my ability is limited)
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