gun loot injection

This commit is contained in:
BMX
2026-09-13 19:38:04 +02:00
parent 7863f2608f
commit bb169af5ae
10 changed files with 775 additions and 0 deletions
@@ -0,0 +1,147 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:empty",
"weight": 60
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:glock_17\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m1911\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 5,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:deagle\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 4,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:uzi\",GunFireMode:\"AUTO\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 3,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:cz75\",GunFireMode:\"SEMI\"}"
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:empty",
"weight": 50
},
{
"type": "minecraft:item",
"weight": 15,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:9mm\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 32
}
}
]
},
{
"type": "minecraft:item",
"weight": 15,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:45acp\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 32
}
}
]
},
{
"type": "minecraft:item",
"weight": 8,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:50ae\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 32
}
}
]
}
]
}
]
}
@@ -0,0 +1,216 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:empty",
"weight": 55
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:ak47\",GunFireMode:\"AUTO\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m4a1\",GunFireMode:\"AUTO\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 5,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:hk_mp5a5\",GunFireMode:\"AUTO\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 5,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m870\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 4,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:spas_12\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 4,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m700\",GunFireMode:\"SEMI\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 3,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:kar98\",GunFireMode:\"SEMI\"}"
}
}
]
}
]
},
{
"rolls": {
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:empty",
"weight": 35
},
{
"type": "minecraft:item",
"weight": 15,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:762x39\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 48
}
}
]
},
{
"type": "minecraft:item",
"weight": 15,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:556x45\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 48
}
}
]
},
{
"type": "minecraft:item",
"weight": 10,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:12g\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 48
}
}
]
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:792x57\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 48
}
}
]
},
{
"type": "minecraft:item",
"weight": 6,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:30_06\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 48
}
}
]
}
]
}
]
}
@@ -0,0 +1,134 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:empty",
"weight": 70
},
{
"type": "minecraft:item",
"weight": 4,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:ai_awp\",GunFireMode:\"BOLT\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 3,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m249\",GunFireMode:\"AUTO\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 3,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:m107\",GunFireMode:\"BOLT\"}"
}
}
]
},
{
"type": "minecraft:item",
"weight": 2,
"name": "tacz:modern_kinetic_gun",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{GunId:\"tacz:rpg7\",GunFireMode:\"SEMI\"}"
}
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:empty",
"weight": 55
},
{
"type": "minecraft:item",
"weight": 15,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:338\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 16,
"max": 32
}
}
]
},
{
"type": "minecraft:item",
"weight": 10,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:50bmg\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 8,
"max": 16
}
}
]
},
{
"type": "minecraft:item",
"weight": 5,
"name": "tacz:ammo",
"functions": [
{
"function": "minecraft:set_components",
"components": {
"minecraft:custom_data": "{AmmoId:\"tacz:rpg_rocket\"}"
}
},
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 2
}
}
]
}
]
}
]
}