[TaCZ] Timeless and Classics Zero

[TaCZ] Timeless and Classics Zero

4M Downloads

[issue]: How can i /give guns with attachments

HeavyArtilleryTank opened this issue · 4 comments

commented

我已确认 ...

  • 我正在使用最新版的tacz
  • 无法在不安装tacz时复现

Minecraft和模组加载器版本

1.20.1 forge

tacz的版本

1.0.3

Related Mods

no other mods used

Description

i want to /give an awp with a elcan 4x scope but i dont know how to add an attachment with commands

复现步骤

No response

日志和崩溃报告

No response

commented

try it
/give @s tacz:modern_kinetic_gun{HasBulletInBarrel: 1b, GunFireMode: "SEMI", GunId: "tacz:ai_awp", AttachmentSCOPE: {id: "tacz:attachment", Count: 1b, tag: {AttachmentId: "tacz:scope_elcan_4x"}}, GunCurrentAmmoCount: 5}

You can use the /data get entity @s SelectedItem command to get the gun data in mainhand

commented

omg thank you so much. i can finnaly finish my cs2 in minecraft tysm

commented

btw how can i give guns with other attachments? like a grip or muzzle or mag? anyways tysm

commented

also what about ammo