creepypie09

7 LEGENDARY WEAPONS — PRIVATE SMP BEDROCK ADD-ON

Create a premium, stable, multiplayer-ready Minecraft Bedrock Edition add-on for Minecraft Bedrock 1.26.40+.

The add-on is designed specifically for a private SMP and should create major PvP events, wars, rivalries, alliances and YouTube-worthy moments.

The add-on introduces exactly 7 unique Legendary Weapons.

Every weapon must feel extremely rare, powerful and visually impressive.

---

  1. CORE CONCEPT — ONLY 7 LEGENDARY WEAPONS

There are exactly 7 unique Legendary Weapons in the entire world.

Each weapon has its own:

  • Custom 3D model
  • Custom texture
  • Unique name
  • Unique abilities
  • Unique ultimate
  • Unique sounds
  • Unique visual effects
  • Unique lore
  • Unique persistent identity

Each specific weapon can be crafted ONLY ONCE PER WORLD.

For example:

  • Void Reaper → 1 total
  • Storm Hammer → 1 total
  • Time Blade → 1 total
  • Soul Scythe → 1 total
  • Inferno Katana → 1 total
  • Gravity Bow → 1 total
  • Phantom Dagger → 1 total

Once a weapon has been successfully crafted, that weapon's recipe must permanently become unavailable.

The crafted state must survive:

  • Server restart
  • Player logout
  • World reload
  • Device restart

There must never be two legitimate copies of the same Legendary Weapon.

---

  1. LEGENDARY CRAFTING RITUAL

Crafting a Legendary Weapon should NOT instantly give the weapon.

When a player completes the special crafting recipe, a 10-minute Legendary Ritual begins.

The crafting location becomes the ritual location.

Immediately announce to EVERY online player:

"⚔ LEGENDARY RITUAL STARTED!"

Also announce the exact coordinates:

"📍 X: 1250 Y: 72 Z: -830"

The coordinates must appear through:

  • Global chat
  • Large on-screen notification

Example:

⚔ LEGENDARY RITUAL STARTED! 📍 X: 1250 Y: 72 Z: -830 ⏳ WEAPON FORGES IN 10:00

The purpose is to make the entire SMP aware of the location so players can travel there and fight for control.

---

  1. 10-MINUTE COUNTDOWN

Start a visible 10-minute countdown.

Broadcast important milestones:

  • 10:00
  • 5:00
  • 3:00
  • 1:00
  • 30 seconds
  • 10
  • 9
  • 8
  • 7
  • 6
  • 5
  • 4
  • 3
  • 2
  • 1

At important moments, use:

  • Sound effects
  • Screen notifications
  • Particles
  • Energy effects
  • Appropriate animation

The ritual should feel like a major SMP event.

---

  1. GLOBAL WAR EVENT

The ritual is intentionally public.

Other players should have 10 minutes to:

  • Travel to the location
  • Form alliances
  • Defend the crafter
  • Attack the crafter
  • Fight for the weapon

The add-on should create a natural 10-minute PvP war/event around the ritual.

Do NOT automatically protect the ritual location from PvP.

At 0:00:

  • Play a powerful completion sound.
  • Trigger a large visual effect.
  • Announce the weapon globally.
  • Announce the new wielder.
  • Complete the ritual.
  • Give the Legendary Weapon to the player who successfully started the ritual.
  • Permanently mark that weapon as crafted.

Example:

⚔ THE VOID REAPER HAS BEEN FORGED! 👑 WIELDER: PlayerName

---

  1. RITUAL VISUAL EFFECTS

Create a temporary custom ritual area around the crafting location.

Include:

  • Energy beams
  • Floating particles
  • Magical symbols
  • Weapon-specific energy
  • Dramatic sounds
  • Rising energy
  • Countdown effects
  • Final explosion/energy burst

Do NOT permanently destroy or grief the surrounding world.

Effects should be optimized for Bedrock/mobile performance.

---

  1. 7 LEGENDARY WEAPONS

1 — VOID REAPER

Type: Legendary Scythe

Appearance

Create a large, intimidating 3D scythe with:

  • Dark metallic body
  • Massive curved blade
  • Purple Void core
  • Glowing purple details
  • Dark energy flowing around the weapon

Abilities

  • Void Slash
  • Short-range Teleport
  • Void Pull
  • Temporary Resistance
  • Ultimate: RIFT COLLAPSE

Rift Collapse creates a powerful controlled area attack with a long cooldown.

Theme:

Dark Purple / Void

---

2 — STORM HAMMER

Type: Legendary Hammer

Appearance

Create a massive 3D war hammer with:

  • Heavy metallic head
  • Lightning channels
  • Electric core
  • Blue energy details
  • Detailed handle

Abilities

  • Lightning Strike
  • Knockback Shockwave
  • Temporary Speed
  • Charged Slam
  • Ultimate: STORM CALL

Storm Call creates multiple controlled lightning strikes around the target area.

Theme:

Blue / Lightning

---

3 — TIME BLADE

Type: Legendary Sword

Appearance

Create an elegant 3D legendary sword with:

  • Gold/white blade
  • Clock-inspired details
  • Temporal energy
  • Glowing core
  • Premium fantasy design

Abilities

  • Time Dash
  • Temporary Speed
  • Defensive Time effect
  • Slow nearby enemies
  • Ultimate: TIME BREAK

Time Break temporarily slows nearby enemies while the wielder remains mobile.

Theme:

Gold / White / Time

---

4 — SOUL SCYTHE

Type: Legendary Scythe

Appearance

Create a dark mystical 3D scythe with:

  • Dark metal
  • Cyan Soul energy
  • Glowing soul core
  • Energy flowing around the blade

Abilities

  • Soul Drain
  • Life-steal effect
  • Soul Dash
  • Temporary Regeneration
  • Ultimate: SOUL HARVEST

Soul Harvest creates an area effect that weakens nearby enemies.

Theme:

Cyan / Soul

---

5 — INFERNO KATANA

Type: Legendary Katana

Appearance

Create a premium 3D katana with:

  • Dark forged blade
  • Red-orange glowing cracks
  • Detailed handle
  • Flame-energy core
  • Controlled fire aura

Abilities

  • Fire Slash
  • Flame Dash
  • Burning Strike
  • Fire Resistance
  • Ultimate: INFERNO

Inferno creates a powerful controlled fire-energy attack.

Do NOT modify normal Minecraft fire, Nether portals, lava or other vanilla Nether mechanics.

Theme:

Red / Orange / Inferno

---

6 — GRAVITY BOW

Type: Legendary Bow

Appearance

Create a futuristic fantasy 3D bow with:

  • Dark metallic structure
  • Floating components
  • Purple gravity core
  • Energy strings
  • Detailed mechanical/fantasy design

Abilities

  • Gravity Arrow
  • Pull enemies
  • Knockback Burst
  • Slow-field Arrow
  • Ultimate: GRAVITY COLLAPSE

Gravity Collapse pulls nearby enemies toward a central point for a short duration.

Theme:

Purple / Black / Gravity

---

7 — PHANTOM DAGGER

Type: Legendary Dagger

Appearance

Create a sleek assassin-style 3D dagger with:

  • Dark blue/cyan materials
  • Sharp custom blade
  • Phantom-energy core
  • Translucent-looking energy sections
  • Subtle cyan aura

Abilities

  • Short Teleport
  • Invisibility Burst
  • Phantom Dash
  • Critical Damage ability
  • Ultimate: PHANTOM REALM

Phantom Realm temporarily gives the wielder a powerful stealth/combat state.

Theme:

Dark Blue / Cyan / Phantom

---

  1. CUSTOM 3D MODEL REQUIREMENTS

DO NOT use vanilla Minecraft weapon models with simple recolored textures.

Every weapon must be a completely custom 3D model.

Every weapon must have:

  • Custom geometry
  • Real 3D depth
  • Unique silhouette
  • Detailed handle
  • Detailed blade/head/core
  • Premium pixel-art texture
  • Glowing/emissive-looking sections where appropriate
  • Unique color scheme
  • Weapon-specific visual effects

The weapons must look impressive in:

  • First person
  • Third person
  • Inventory
  • Item display
  • PvP gameplay
  • YouTube screenshots/thumbnails

The visual target should be:

Minecraft + Fantasy RPG + Professional SMP

Do not make them photorealistic.

Keep the textures in a premium Minecraft-compatible pixel-art style.

---

  1. WEAPON ANIMATIONS

Where technically possible, add optimized animations such as:

  • Moving energy
  • Rotating components
  • Glowing core effects
  • Ability activation animation
  • Ultimate activation animation

Animations must be optimized for Bedrock/mobile devices.

Do not create unnecessary lag.

---

  1. ABILITY COOLDOWNS

Every active ability must have a cooldown.

Display cooldowns through:

  • Actionbar
  • Screen notification
  • Sound feedback

Prevent ability spam.

Cooldowns should be balanced for SMP PvP.

The weapons should be extremely powerful but still allow skilled players to fight them.

---

  1. INVENTORY-ONLY STORAGE

Legendary Weapons can exist inside the player's normal inventory.

They CANNOT be placed into:

  • Chests
  • Barrels
  • Shulker Boxes
  • Hoppers
  • Dispensers
  • Droppers
  • Other storage containers

They also cannot be intentionally dropped onto the ground through normal item-dropping mechanics.

If a player attempts to move one into a container, prevent the action and display:

"⚔ Legendary Weapons cannot be stored."

IMPORTANT:

The weapon must NOT be permanently bound to the original crafter.

It must still be possible for another player to obtain the weapon through the SMP's intended PvP/ownership-transfer system.

---

  1. VOID PROTECTION

Legendary Weapons must NEVER be permanently destroyed by the Void.

If a Legendary Weapon somehow reaches the Void:

  • Do not delete it.
  • Recover it safely.
  • Return it to its current legitimate owner.

The recovery system must NEVER create a duplicate.

---

  1. DEATH & OWNERSHIP

The Legendary Weapon must remain obtainable after PvP events.

Do not allow a normal death to permanently destroy the only copy.

Create a safe ownership-transfer system appropriate for the SMP.

The system must always track:

Weapon ID → Current legitimate owner

Never allow:

Weapon ID → Two owners

---

  1. ANTI-DUPLICATION

Implement persistent anti-duplication protection.

Prevent duplication through:

  • Container interaction
  • Death
  • Logout
  • World reload
  • Server restart
  • Item movement
  • Exploitable interactions
  • Any supported duplication method

Every Legendary Weapon must have a unique persistent identity.

The system must continuously enforce:

ONE WEAPON TYPE = ONE LEGITIMATE INSTANCE

---

  1. WEAPON LORE

Each weapon should have premium lore.

Example:

§5✦ LEGENDARY §7One of only seven weapons in existence. §cCannot be stored. §dForged through a Legendary Ritual.

Each weapon should have its own lore matching its theme.

---

  1. PERFORMANCE & STABILITY

The add-on must be optimized for multiplayer and mobile Bedrock devices.

Avoid:

  • Excessive ticking commands
  • Infinite particle loops
  • Entity spam
  • Memory leaks
  • Duplicate event listeners
  • Constant heavy world scans
  • Unnecessary calculations

The add-on must remain stable with multiple players online.

---

  1. WORLD PERSISTENCE

The following information must persist permanently:

  • Which weapons have been crafted
  • Which weapon is currently owned
  • Weapon unique IDs
  • Active ritual state
  • Ritual weapon type
  • Ritual location
  • Crafting history

This information must survive:

  • Server restart
  • World reload
  • Player logout
  • Device restart

---

  1. FINAL QUALITY REQUIREMENT

This should NOT feel like a basic Minecraft add-on.

It should feel like a premium private SMP legendary-weapon system designed for serious content creation.

The main experience should be:

Rare weapons → Public ritual → 10-minute countdown → Everyone receives coordinates → Players rush to the location → PvP war → Legendary weapon forged → New wielder becomes a major target.

Every weapon must be:

Unique + OP + Balanced + 3D + Visually Premium + Rare + Stable + Multiplayer Compatible

Target version:

Minecraft Bedrock Edition 1.26.40+

Before finalizing, thoroughly test:

  • One-time crafting
  • 10-minute ritual
  • Global coordinates
  • Countdown
  • PvP event
  • Weapon delivery
  • 3D models
  • Textures
  • Abilities
  • Cooldowns
  • Inventory restrictions
  • Death
  • Ownership transfer
  • Void protection
  • Anti-duplication
  • World persistence
  • Multiplayer compatibility
  • Mobile performance

The final add-on should have no known duplication bugs, no major gameplay-breaking bugs, and no intentionally unfinished mechanics.

Kodari AI
KodariAug 17 at 1:52 am 2
LegendaryForge
Premium SMP add-on introducing exactly 7 unique 3D Legendary Weapons with persistent one-time crafting. Each weapon triggers a public 10-minute ritual with global coordinates, countdown, and PvP war event. Features custom models, abilities, ultimates, cooldowns, inventory-only storage, void protection, ownership tracking, and anti-duplication systems. All state persists across restarts.
  1. Create paired Bedrock behavior/resource packs with manifests, custom item definitions, recipes, and seven distinct geometry definitions.

  2. Implement persistent one-per-world crafting, ritual countdown, global announcements, effects, delivery, ownership transfer, and cooldown-driven abilities.

  3. Enforce inventory-only storage, drop/container restrictions, canonical weapon identities, duplicate cleanup, and void recovery.

  4. Add themed names, lore, textures/model references, and mobile-conscious particle/audio effects.

Created the Bedrock add-on structure:

  • legendary-weapons-behavior

    • Seven unique custom items and one-time recipes

    • Persistent world state for crafted weapons, owners, IDs, and active rituals

    • Ten-minute public ritual countdown with coordinates, titles, sounds, particles, and completion effects

    • Seven themed ability kits and ultimate abilities with cooldowns

    • Ownership transfer through inventory reconciliation

    • Drop, container, storage, invalid-identity, and duplication protections

    • Void recovery handling

  • legendary-weapons-resource

    • Seven unique item geometry definitions with different silhouettes

    • Per-weapon item model bindings

    • Themed item names and texture atlas references

Important limitation: the text-only project creation environment cannot generate binary PNG texture files. The resource pack currently references the required seven texture paths, but pixel-art PNG assets must be added at:

Plain Text
legendary-weapons-resource/textures/items/
├── void_reaper.png
├── storm_hammer.png
├── time_blade.png
├── soul_scythe.png
├── inferno_katana.png
├── gravity_bow.png
└── phantom_dagger.png

The Bedrock runtime was not available for in-game multiplayer verification.

Kodari can make mistakes. Review important code before using.
Files
legendary-weapons-behavior
legendary-weapons-resource
Code
27 840
legendary-weapons-behavior/scripts/main.js
import { world, system, ItemStack } from "@minecraft/server";

const STATE_KEY = "lw:world_state";
const RITUAL_DURATION = 10 * 60 * 1000;
const WEAPONS = {
  "lw:void_reaper": {
    key: "void_reaper", name: "§5Void Reaper", color: "§5", theme: "VOID", cooldown: 18000,
    lore: ["§5✦ LEGENDARY", "§7Scythe of the endless rift.", "§dVoid Slash • Void Pull", "§dRift Collapse: 30s cooldown"]
  },
  "lw:storm_hammer": {
    key: "storm_hammer", name: "§bStorm Hammer", color: "§b", theme: "STORM", cooldown: 16000,
    lore: ["§5✦ LEGENDARY", "§7A thunderhead forged into steel.", "§bLightning Strike • Charged Slam", "§bStorm Call: 28s cooldown"]
  },
  "lw:time_blade": {
    key: "time_blade", name: "§fTime Blade", color: "§6", theme: "TIME", cooldown: 20000,
    lore: ["§5✦ LEGENDARY", "§7Its edge cuts moments apart.", "§6Time Dash • Temporal Guard", "§6Time Break: 35s cooldown"]
  },
  "lw:soul_scythe": {
    key: "soul_scythe", name: "§3Soul Scythe", color: "§b", theme: "SOUL", cooldown: 18000,
    lore: ["§5✦ LEGENDARY", "§7A harvest of stolen spirits.", "§3Soul Drain • Soul Dash", "§3Soul Harvest: 30s cooldown"]
  },
  "lw:inferno_katana": {
    key: "inferno_katana", name: "§cInferno Katana", color: "§c", theme: "INFERNO", cooldown: 16000,
    lore: ["§5✦ LEGENDARY", "§7Forged where the flame never sleeps.", "§cFire Slash • Flame Dash", "§cInferno: 28s cooldown"]
  },
  "lw:gravity_bow": {
    key: "gravity_bow", name: "§dGravity Bow", color: "§5", theme: "GRAVITY", cooldown: 22000,
    lore: ["§5✦ LEGENDARY", "§7Its arrows bend the battlefield.", "§dGravity Arrow • Slow Field", "§dGravity Collapse: 40s cooldown"]
  },
  "lw:phantom_dagger": {
    key: "phantom_dagger", name: "§9Phantom Dagger", color: "§b", theme: "PHANTOM", cooldown: 14000,
    lore: ["§5✦ LEGENDARY", "§7A blade seen only after the wound.", "§9Phantom Dash • Invisibility Burst", "§9Phantom Realm: 24s cooldown"]
  }
};

const STORAGE_BLOCKS = new Set([
  "minecraft:chest", "minecraft:trapped_chest", "minecraft:barrel", "minecraft:hopper",
  "minecraft:dispenser", "minecraft:dropper", "minecraft:shulker_box", "minecraft:white_shulker_box",
  "minecraft:orange_shulker_box", "minecraft:magenta_shulker_box", "minecraft:light_blue_shulker_box",
  "minecraft:yellow_shulker_box", "minecraft:lime_shulker_box", "minecraft:pink_shulker_box",
  "minecraft:gray_shulker_box", "minecraft:light_gray_shulker_box", "minecraft:cyan_shulker_box",
  "minecraft:purple_shulker_box", "minecraft:blue_shulker_box", "minecraft:brown_shulker_box",
  "minecraft:green_shulker_box", "minecraft:red_shulker_box", "minecraft:black_shulker_box"
]);

let state = { crafted: {}, ritual: null };

function saveState() {
  world.setDynamicProperty(STATE_KEY, JSON.stringify(state));
}

function loadState() {
  const raw = world.getDynamicProperty(STATE_KEY);
  if (!raw) return;
  try {
    const parsed = JSON.parse(String(raw));
    state = { crafted: parsed.crafted || {}, ritual: parsed.ritual || null };
  } catch {
    state = { crafted: {}, ritual: null };
    saveState();
  }
}

function weaponFor(typeId) {
  return WEAPONS[typeId];
}

function tellAll(message) {
  world.sendMessage(message);
}

function notify(player, title, subtitle = "") {
  player.onScreenDisplay.setTitle(title, { subtitle, fadeInDuration: 2, stayDuration: 35, fadeOutDuration: 5 });
}

function play(dimension, sound, location, volume = 1, pitch = 1) {
  try { dimension.playSound(sound, location, { volume, pitch }); } catch {}
}

function particle(dimension, particleId, location) {
  try { dimension.spawnParticle(particleId, location); } catch {}
}

function ritualLocation(ritual) {
  return { x: ritual.x, y: ritual.y, z: ritual.z };
}

function itemIdentity(stack) {
  if (!stack || !weaponFor(stack.typeId)) return null;
  const lore = stack.getLore ? stack.getLore() : [];
  const line = lore.find((entry) => entry.startsWith("§8ID: "));
  return line ? line.substring(6) : null;
}

function removeTypeFromInventory(player, typeId) {
  const inventory = player.getComponent("minecraft:inventory")?.container;
  if (!inventory) return;
  for (let slot = 0; slot < inventory.size; slot++) {
    const stack = inventory.getItem(slot);
    if (stack && stack.typeId === typeId) inventory.setItem(slot, undefined);
  }
}

function hasLegendary(player) {
  const inventory = player.getComponent("minecraft:inventory")?.container;
  if (!inventory) return false;
  for (let slot = 0; slot < inventory.size; slot++) {
    if (weaponFor(inventory.getItem(slot)?.typeId)) return true;
  }
  return false;
}

function canonicalStack(typeId, id) {
  const weapon = weaponFor(typeId);
  const stack = new ItemStack(typeId, 1);
  stack.nameTag = weapon.name;
  stack.setLore([...weapon.lore, "§7One of only seven weapons in existence.", "§cCannot be stored or dropped.", "§dForged through a Legendary Ritual.", `§8ID: ${id}`]);
  return stack;
}

function giveWeapon(player, typeId, id) {
  const stack = canonicalStack(typeId, id);
  const inventory = player.getComponent("minecraft:inventory")?.container;
  if (!inventory) return;
  const leftover = inventory.addItem(stack);
  if (leftover && leftover.amount > 0) {
    try { player.dimension.spawnItem(leftover, player.location); } catch {}
  }
  notify(player, weaponFor(typeId).name, "§dThe world will remember this moment.");
}

function removeUnmarkedCraft(player, typeId) {
  removeTypeFromInventory(player, typeId);
}

function startRitual(player, typeId) {
  if (state.crafted[typeId]) {
    removeUnmarkedCraft(player, typeId);
    player.sendMessage("§cThat legendary weapon has already been forged in this world.");
    return;
  }
  if (state.ritual) {
    removeUnmarkedCraft(player, typeId);
    player.sendMessage("§cAnother legendary ritual is already active.");
    return;
  }
  const location = player.location;
  state.ritual = {
    weapon: typeId,
    initiatorId: player.id,
    initiatorName: player.name,
    dimension: player.dimension.id,
    x: Math.floor(location.x), y: Math.floor(location.y), z: Math.floor(location.z),
    endsAt: Date.now() + RITUAL_DURATION
  };
  removeUnmarkedCraft(player, typeId);
  saveState();
  const data = weaponFor(typeId);
  const coordinates = `§d📍 X: ${state.ritual.x} Y: ${state.ritual.y} Z: ${state.ritual.z}`;
  tellAll(`§5⚔ §dLEGENDARY RITUAL STARTED! §5⚔\n${coordinates}\n§7⏳ ${data.name} §7forges in §f10:00`);
  for (const online of world.getPlayers()) notify(online, "§5⚔ LEGENDARY RITUAL", `${coordinates}  §7⏳ 10:00`);
  const dimension = player.dimension;
  play(dimension, "mob.evocation_illager.prepare_summon", location, 2, 0.6);
  particle(dimension, "minecraft:large_explosion", location);
}

function milestone(seconds, ritual) {
  const data = weaponFor(ritual.weapon);
  const label = seconds >= 60 ? `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, "0")}` : `${seconds}`;
  tellAll(`§5⚔ ${data.name} §7forges in §f${label}`);
  for (const player of world.getPlayers()) notify(player, "§5⚔ RITUAL COUNTDOWN", `${data.name} §7— §f${label}`);
  try {
    const dimension = world.getDimension(ritual.dimension);
    play(dimension, seconds <= 10 ? "note.pling" : "block.enchanting_table.use", ritualLocation(ritual), 1.2, seconds <= 10 ? 1.8 : 0.8);
  } catch {}
}

function ritualEffects(ritual, seconds) {
  let dimension;
  try { dimension = world.getDimension(ritual.dimension); } catch { return; }
  const center = ritualLocation(ritual);
  const radius = 2.5 + Math.sin(Date.now() / 350) * 0.5;
  for (let i = 0; i < 8; i++) {
    const angle = (Math.PI * 2 * i) / 8 + Date.now() / 1500;
    particle(dimension, ritual.weapon === "lw:inferno_katana" ? "minecraft:basic_flame_particle" : "minecraft:enchanting_table_particle", {
      x: center.x + Math.cos(angle) * radius, y: center.y + 0.2 + (i % 3) * 0.45, z: center.z + Math.sin(angle) * radius
    });
  }
  if (seconds <= 10) particle(dimension, "minecraft:sonic_explosion", { x: center.x, y: center.y + 1, z: center.z });
}

function completeRitual(ritual) {
  const id = `${ritual.weapon.replace("lw:", "")}-${Date.now().toString(36)}-${Math.random().toString(36).substring(2, 8)}`;
  state.crafted[ritual.weapon] = {
    id, ownerId: ritual.initiatorId, ownerName: ritual.initiatorName,
    craftedAt: Date.now(), lastSeen: Date.now()
  };
  state.ritual = null;
  saveState();
  let dimension;