coikinator

Make me a Data pack that adds a new fish varient that is called Elena Fisch and you can spawn it it has an special texture and form and when you kill it it give you a Elena Fisch and when you eat that item fish it spawns more of these fishes and they kill you author:coikinator

Kodari AI
KodariJan 18 at 8:58 pm 4,779 (v2)

I’ll create a data pack that adds the Elena Fisch - a special fish variant with unique behaviors!

ElenaFischDatapack
Adds Elena Fisch, a special tropical fish variant that drops a cursed food item. When you kill Elena Fisch, you receive the Elena Fisch item. Eating this cursed fish spawns a swarm of hostile Elena Fisch that attack and kill the player. Features custom loot tables, advancement-based detection, and automated hostile fish spawning. Created by coikinator.

Elena Fisch Data Pack Created! 🐟

Features:

  • Elena Fisch entity: Special purple tropical fish variant with custom name

  • Cursed food item: Drops when you kill Elena Fisch

  • Deadly curse: Eating the fish spawns 4 waves of hostile Elena Fisch

  • Hostile behavior: The spawned fish chase and attack you with poison, wither, and instant damage

  • Purple particle effects: Visual indicators for the cursed fish

Installation:

  1. Download and extract the ZIP

  2. Place elena_fisch folder in your world’s datapacks folder

  3. Use /reload in-game

Commands:

  • /function elena:spawn_elena_fisch - Spawn an Elena Fisch at your location

  • /function elena:give_elena_fisch_item - Get the cursed fish item directly

How it works:

  1. Spawn Elena Fisch using the command

  2. Kill it to get the Elena Fisch food item

  3. Eat the cursed fish (right-click)

  4. Survive the swarm of hostile Elena Fisch that spawn!

Created by coikinator 🎣

Kodari can make mistakes. Review important code before using.
Files
elena_fisch
Code
13 100
elena_fisch/data/elena/function/summon_swarm.mcfunction
summon tropical_fish ~3 ~ ~3 {CustomName:'{"text":"Hostile Elena Fisch","color":"dark_red","bold":true}',Tags:["elena_fisch","elena_hostile"],Variant:117835012,PersistenceRequired:1b,DeathLootTable:"elena:entities/elena_fisch"}
summon tropical_fish ~-3 ~ ~3 {CustomName:'{"text":"Hostile Elena Fisch","color":"dark_red","bold":true}',Tags:["elena_fisch","elena_hostile"],Variant:117835012,PersistenceRequired:1b,DeathLootTable:"elena:entities/elena_fisch"}
summon tropical_fish ~3 ~ ~-3 {CustomName:'{"text":"Hostile Elena Fisch","color":"dark_red","bold":true}',Tags:["elena_fisch","elena_hostile"],Variant:117835012,PersistenceRequired:1b,DeathLootTable:"elena:entities/elena_fisch"}
summon tropical_fish ~-3 ~ ~-3 {CustomName:'{"text":"Hostile Elena Fisch","color":"dark_red","bold":true}',Tags:["elena_fisch","elena_hostile"],Variant:117835012,PersistenceRequired:1b,DeathLootTable:"elena:entities/elena_fisch"}
playsound entity.elder_guardian.curse master @a ~ ~ ~ 1 0.8
particle soul ~ ~ ~ 2 1 2 0.1 50