[Bug]:
HeavyArtilleryTank opened this issue ยท 5 comments
I have confirmed that ...
- tacz is up to date
- unable to reproduce without tacz
Minecraft and modloader version
1.20.1 forge
tac version
1.0.3
Related Mods
NO OTHER MODS USED
Description
how can i /give items wit attachemnts like muzzles magazines and scopes?
Step to reproduce
No response
Logs & Crash reports
No response
ok but now i am lloking for the muzzles and the other attachments but it just doesnt work
Again, I would suggest to just check the original attachments' properties with the /data
command, and work your way out from that.
In TaCZ, different guns, attachments, and ammo are represented mostly in their NBT data. so e.g. /give @s tacz:modern_kinetic_gun{GunId:"tacz:m4a1"}
would give you an M4A1. /give @s tacz:ammo{AmmoId:"tacz:9mm"}
would give you a 9-mil round. It's similar to attachments and you can work this out yourself.
There's a method on how to check what NBT tags are in an item in vanilla Minecraft:
- Hold the item you want to check
- Run the command
/data get entity @s SelectedItem.tag
(or something similar, you can search it up)
As far as I can tell, this NBT approach they use is presumably for the foundational groundwork of gunpacks customizations.
Hopefully, this answers your question; if you need more support regarding TaCZ, you can get it via their official discord.