Im making a naruto addon witch fitures minato its a starting project a kunai that can telelport you damge 25 with a hokage cloack
๐
minato_kunai.json
json
137 lines
โถ
MinatoAddon/
โโโ behavior_packs/
โ โโโ Minato_BP/
โ โโโ manifest.json
โ โโโ items/
โ โ โโโ minato_kunai.json
โ โโโ scripts/
โ โโโ main.js
โโโ resource_packs/
โโโ Minato_RP/
โโโ manifest.json
โโโ attachables/
โ โโโ minato_kunai.json
โโโ models/
โ โโโ entity/
โ โโโ minato_kunai.geo.json
โ โโโ hokage_cloak.geo.json
โโโ textures/
โโโ items/
โ โโโ minato_kunai.png
โโโ models/
โโโ armor/
โโโ hokage_cloak.png
{
"format_version": 2,
"header": {
"name": "Minato Addon BP",
"description": "Behavior pack for Minato Kunai and Hokage Cloak",
"uuid": "a123b456-c789-1011-1213-141516171819",
"version": [1, 0, 0],
"min_engine_version": [1, 20, 80]
},
"modules": [
{
"type": "data",
"uuid": "b234c567-d890-1112-1314-151617181920",
"version": [1, 0, 0]
},
{
"type": "script",
"language": "javascript",
"uuid": "c345d678-e901-1213-1415-161718192021",
"version": [1, 0, 0],
"entry": "scripts/main.js"
}
],
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.10.0"
}
]
}
{
"format_version": "1.20.80",
"minecraft:item": {
"description": {
"identifier": "naruto:minato_kunai",
"menu_category": {
"category": "equipment"
}
},
"components": {
"minecraft:icon": {
"texture": "minato_kunai"
},
"minecraft:geometry": {
"identifier": "geometry.minato_kunai"
},
"minecraft:hand_equipped": true,
"minecraft:max_stack_size": 1,
"minecraft:damage": 8,
"minecraft:use_modifiers": {
"use_duration": 0.2,
"movement_modifier": 0.8
},
"minecraft:weapon": {}
}
}
}
import { world, system } from "@minecraft/server";
world.afterEvents.itemUse.subscribe((event) => {
const player = event.source;
const item = event.itemStack;
// Check if player is holding Minato's Kunai
if (item.typeId === "naruto:minato_kunai") {
// Play Teleport Sound
player.runCommandAsync("playsound mob.endermen.portal @s ~~~ 1 1.5");
// Calculate 8 blocks forward in the direction the player is looking
const viewVector = player.getViewDirection();
const loc = player.location;
const targetX = loc.x + viewVector.x * 8;
const targetY = loc.y + viewVector.y * 8 + 0.5;
const targetZ = loc.z + viewVector.z * 8;
// Teleport player and spawn particle effect
player.teleport({ x: targetX, y: targetY, z: targetZ });
player.runCommandAsync("particle minecraft:end_chest_particle ~~~");
}
});
{
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "naruto:minato_kunai",
"materials": {
"default": "entity_alphatest"
},
"textures": {
"default": "textures/items/minato_kunai"
},
"geometry": {
"default": "geometry.minato_kunai"
},
"scripts": {
"animate": [
"hold_first_person",
"hold_third_person"
]
},
"animations": {
"hold_first_person": "animation.humanoid.holding.first_person",
"hold_third_person": "animation.humanoid.holding.third_person"
},
"render_controllers": [
"controller.render.default"
]
}
}
Create behavior/resource pack manifests for Minecraft Bedrock 1.20.80.
Add a Minato kunai that teleports its user and deals 25 damage, plus an equipable chest-slot Hokage cloak.
Use vanilla texture placeholders; custom cloak/kunai art and models need assets.
Created the starter addon under MinatoAddon/:
The kunai deals 25 damage and teleports its user 8 blocks forward when used.
The Hokage Cloak is a chest-slot wearable with 3 protection.
Activate both packs on your world. The kunai and cloak currently use vanilla trident and leather chestplate visuals as placeholders.
Custom textures can be enabled in project settings โ Generation, or at https://kodari.ai/settings?tab=features. For custom 3D models, create them in Kodari Studio and bring them into this project through a workspace.
import { world } from "@minecraft/server";
world.afterEvents.itemUse.subscribe((event) => {
const player = event.source;
if (player.typeId !== "minecraft:player" || event.itemStack.typeId !== "naruto:minato_kunai") {
return;
}
const direction = player.getViewDirection();
const location = player.location;
player.teleport({
x: location.x + direction.x * 8,
y: location.y + direction.y * 8 + 0.5,
z: location.z + direction.z * 8
});
});