Forge Mod

SkeletonOverlordMod

Act as an expert Minecraft mod developer. Create a complete [ЗАГРУЗЧИК: Forge / Fabric / NeoForge] mod for Minecraft [ВЕРСИЯ: например, 1.20.1] that adds a custom boss named "Skeleton Overlord". CRITICAL CONSTRAINT: Do NOT require any external image/texture files (.png) or 3D modeling tools (like Blockbench). Everything MUST work out of the box using ONLY Java code, JSON models, and built-in vanilla Minecraft textures (such as `minecraft:block/gold_block`, `minecraft:block/blue_ice`, `minecraft:block/packed_ice`, and vanilla skeleton textures).

Leia a descrição completa

Provide the complete folder structure, all Java classes, registration files, and complete JSON model files. 1. Boss Entity ("Skeleton Overlord"): - Uses the standard vanilla Skeleton 3D model and animations, scaled up 1.3x in size, immune to sunlight burn. - Texture: Reuses a built-in vanilla texture (e.g., `minecraft:textures/entity/skeleton/stray.png` or `skeleton.png` with a gray/stone color tint applied in the entity renderer so no custom PNG is needed). - Stats: 300 HP (150 hearts), 12 armor, purple Boss Bar ("Skeleton Overlord") at the top of the screen. - Holds the custom "Golden Staff" in the main hand. 2. Custom 3D JSON Items (Using Vanilla Textures Only): - Golden Staff (`golden_staff`): Write a complete 3D JSON model file (`models/item/golden_staff.json`) built out of cuboid `elements` — a tall golden shaft using `#gold` (`minecraft:block/gold_block`) topped with a glowing cyan crystal using `#ice` (`minecraft:block/blue_ice`), properly scaled for hand display. - Golden Spear (`golden_spear`): Write a complete 3D JSON model file (`models/item/golden_spear.json`) built out of cuboid `elements` — a long pole using `#wood` (`minecraft:block/dark_oak_planks`) with a sharp golden spearhead using `#gold` (`minecraft:block/gold_block`), scaled for hand display. 3. Boss Abilities & Mechanics: - Ability 1: Cavalry Summon (Cooldown: 25 seconds) - Raises staff, plays wither/horn sound, spawns 2–3 Skeletons riding Skeleton Horses, each holding the custom `Golden Spear`. - Ability 2: Deflectable Ice Shard Volley (Cooldown: 10 seconds) - Launches a custom projectile (`ice_shard_projectile`) rendered as a rotating 3D cluster/crystal of `Blocks.BLUE_ICE` and `Blocks.PACKED_ICE` (using Minecraft's built-in `BlockRenderDispatcher` in the entity renderer — zero external models/textures required) with trailing snowflake particles. - Deflectable Mechanic: Players can hit/attack the projectile mid-air to deflect it back toward the boss (just like a Ghast fireball). - On Impact: Shatters with ice block break particles, deals 6 damage (3 hearts), and applies Slowness III for 5 seconds (100 ticks) to players (or 20 damage + brief stun if deflected back into the boss). 4. Commands & Spawning System: - Register `/bossoverlord` (requires operator level 2): - `/bossoverlord spawn` — Spawns the boss at the executor's current coordinates. - `/bossoverlord setspawn` — Saves current coordinates and dimension to a config file. - `/bossoverlord spawnhere` — Spawns the boss at the saved coordinates. - `/bossoverlord autospawn <minutes>` — Configures an automatic spawn timer at the saved location (0 to disable). Loader: Forge Minecraft version: 1.20.1