{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "thrash:multi",
"menu_category": {
"category": "equipment"
}
},
"components": {
"minecraft:max_stack_size": 64,
"minecraft:stacked_by_data": true,
"minecraft:allow_off_hand": true,
"minecraft:icon": "thrash_multi",
"minecraft:throwable": {
"do_swing_animation": true,
"launch_power_scale": 1
},
"minecraft:projectile": {
"projectile_entity": "thrash:multi_throw"
}
}
}
}
{
"format_version": "1.20.80",
"minecraft:entity": {
"description": {
"identifier": "thrash:multi_throw",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"runtime_identifier": "minecraft:snowball"
},
"components": {
"minecraft:collision_box": {
"width": 0.15,
"height": 0.15
},
"minecraft:projectile": {
"on_hit": {
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "snowballpoof",
"num_particles": 4,
"on_entity_hit": true,
"on_other_hit": true
}
},
"anchor": 1,
"power": 0.15,
"gravity": 0.011,
"angle_offset": 0,
"offset": [ 0, 0.325, 0.75 ]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
}
}
}
}
here is my custom item and projectile