
一款适用于 Minecraft 1.20.5+ 的完全可自定义的数据包,包含能完美融入周围环境的自定义枪械。
你可以使用自定义属性创建自己的枪械,并且可以在无需安装模组的情况下与朋友一起使用。
无需资源包即可正常工作。
⭐ 功能
• 具有真实名称、移动效果和后坐力的功能齐全且精准的枪械。
• 功能齐全的投掷物,如手榴弹。
• 无论是否加载资源包均可使用。
• 完全支持多人游戏。
• 通过聊天菜单轻松更改设置。
• 创建你自己的枪械,或使用数据包中已有的枪械。
?️ 兼容性

⚙️ 安装
安装后,你可能需要运行 /reload 重新加载世界。
要打开聊天菜单,请再次使用 /reload。
⚡️重要提醒
你需要权限才能使用命令来安装和配置设置!
这意味着在单人游戏中必须开启命令权限,在多人游戏中需要 OP 权限。不过,你不需要权限即可使用枪械,仅需在使用权限来创建枪械或更改设置。
?️ 创建
适用于 V2.1.0+
在主手中持有你想转换为枪械的物品,并运行以下命令:
/function guns:create {name:"AR-15",color:"blue",bullets:30,bullet_type:"medium",damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
将属性替换为你想要的数值。
不支持用于自定义枪械创建的物品包括:所有类型的烟花火箭、棒子、盔甲部件、桶、弓、药水(投掷物)、空地图、刷怪蛋、鸡蛋、雪球、三叉戟、斧头(右键点击时仍会削木)、末影珍珠、调试棒和末影之眼。
适用于 V2
在主手中持有你想转换为枪械的物品,并运行以下命令:
/function guns:create {name:"AR-15",color:"blue",bullets:30,magazine:90,damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
将属性替换为你想要的数值。
适用于 V1
要制作你自己的枪械,只需在命令方块中使用此命令,因为该命令对于聊天框来说太长了。
/data modify storage guns create set value {
Damage:20,
Headshot:20,
Bullets:3,
Magazine:3,
Bloom:0,
Cooldown:30,
Recoil:2.5,
Range:300,
Semi-Auto:true,
ReloadTime:40,
Name:"AWP",
}
修改完武器的存储数据后,运行
/item modify entity @s weapon.mainhand main:change_stats

A fully customizable datapack for Minecraft 1.20.5+ that features custom guns that fully integrate with the surrounding world.
You can create your own guns with custom stats and also use this with friends without having to install mods.
No resource pack required for it to work.
⭐ Features
• Functional and accurate guns with realistic names, movement, and recoil.
• Functional throwables like grenades.
• Works with and without resource packs.
• 100% Multiplayer supported.
• It is easy to change settings via the chat menu.
• Create your own guns or use the ones that are already in the datapack.
?️ Compatibility

⚙️ Installation
After installing it, you may need to restart your world with /reload.
To open the chat menu, use /reload again.
⚡️IMPORTANT REMINDER
You need permissions to use commands to install and configure the settings!
This means that commands must be turned on in single-player and OP in multiplayer however, you do not need permission to use commands to use the guns, only to create them or to change the settings.
?️ Creation
For V2.1.0+
Hold the item that you want to convert into a gun in your mainhand and run this command:
/function guns:create {name:"AR-15",color:"blue",bullets:30,bullet_type:"medium",damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
Replace the stats with your desired stats.
Unsupported items for custom gun creation are: All types of firework, rods, armor pieces, buckets, bows, potions, (throwables), empty maps, spawn eggs, eggs, snowballs, tridents, axes (still strip logs when right clicked on them), ender pearls, debug stick, and ender eyes.
For V2
Hold the item that you want to convert into a gun in your mainhand and run this command:
/function guns:create {name:"AR-15",color:"blue",bullets:30,magazine:90,damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
Replace the stats with your desired stats.
For V1
To make your own guns, simply use this command in a command block since it is too long for the chat box.
/data modify storage guns create set value {
Damage:20,
Headshot:20,
Bullets:3,
Magazine:3,
Bloom:0,
Cooldown:30,
Recoil:2.5,
Range:300,
Semi-Auto:true,
ReloadTime:40,
Name:"AWP",
}
After modifying the storage for your weapon run
/item modify entity @s weapon.mainhand main:change_stats
评论 0
登录后参与评分
还没有评论,来抢沙发吧