Skip to content

Commit

Permalink
Adding shuriken
Browse files Browse the repository at this point in the history
Have fun
  • Loading branch information
ModMaker101 committed Jul 4, 2023
1 parent 41c9852 commit 8659422
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 41 deletions.
78 changes: 42 additions & 36 deletions n Behavior/entities/weapons/shuriken.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,50 @@
{
"format_version": "1.12.0",
"minecraft:entity": {
"description": {
"identifier": "naruto:shuriken",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"runtime_identifier": "minecraft:egg"
"format_version": "1.19.0",
"minecraft:entity": {
"description": {
"identifier": "naruto:shuriken",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"runtime_identifier": "minecraft:egg"
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 5,
"knockback": true,
"destroy_on_hit": true
},
"remove_on_hit": {}
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 5,
"knockback": true,
"destroy_on_hit": true
},
"power": 5.0,
"gravity": 0.06,
"angle_offset": 0.0
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 10,
"use_motion_prediction_hints": true
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "iconcrack",
"num_particles": 3,
"on_entity_hit": true,
"on_other_hit": true
}
},
"power": 3.0,
"gravity": 0.06,
"angle_offset": 0.0
},
"minecraft:physics": {
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:conditional_bandwidth_optimization": {
"default_values": {
"max_optimized_distance": 80.0,
"max_dropped_ticks": 10,
"use_motion_prediction_hints": true
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format_version": "1.20.1",
"format_version": "1.19.0",
"minecraft:item": {
"description": {
"category": "equipment",
Expand Down
26 changes: 26 additions & 0 deletions n Resource/entity/weapons/shuriken.entity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"format_version": "1.19.0",
"minecraft:client_entity": {
"description": {
"identifier": "naruto:shuriken",
"materials": {
"default": "snowball"
},
"textures": {
"default": "textures/items/weapons/shuriken"
},
"geometry": {
"default": "geometry.item_sprite"
},
"render_controllers": [ "controller.render.item_sprite" ],
"animations": {
"flying": "animation.actor.billboard"
},
"scripts": {
"animate": [
"flying"
]
}
}
}
}
8 changes: 4 additions & 4 deletions n Resource/textures/item_texture.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"ramen":{
"textures":"textures/items/ramen"
},
"shuriken":{
"textures":"textures/items/weapons/shuriken"
}
"shuriken": {
"textures": "textures/items/weapons/shuriken"
}
}
}
}

0 comments on commit 8659422

Please sign in to comment.