#custom throwable item not visible
1 messages · Page 1 of 1 (latest)
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "ahcitempack:exp_1",
"materials": {
"default": "xp_bottle"
},
"textures": {
"default": "textures/items/exp_1"
},
"geometry": {
"default": "geometry.item_sprite"
},
"render_controllers": [
"controller.render.experience_bottle"
],
"animations": {
"flying": "animation.actor.billboard"
},
"scripts": {
"animate": [
"flying"
]
}
}
}
}
{
"format_version": "1.16.0",
"minecraft:entity": {
"description": {
"identifier": "ahcitempack:exp_1_entity",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"runtime_identifier": "minecraft:snowball"
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"grant_xp": {
"minXP": 69,
"maxXP": 70
},
"remove_on_hit": {}
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20,
"hit_sound": "glass"
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80,
"max_dropped_ticks": 10,
"use_motion_prediction_hints": true
}
}
}
}
}
behaviour based on https://wiki.bedrock.dev/items/throwable