Minecraft Data Packs / Other

Customize the Item found in End Ships (Replace Elytra in Item Frames)

  • check_circle Functions
  • check_circle Loot Tables
  • 3,424 views, 3 today
  • 392 downloads, 0 today
  • 9
  • 8
  • 9
lerokko's Avatar lerokko
Level 27 : Expert Professor
5
This datapack does one small thing. It lets you decide what item should be in the end ships item frame.

Simply go to the file under elootra.zip\data\server26elootra\functions\check_frame.mcfunction and locate the line starting with "execute as..." you will find a text saying "minecraft:nether_star" (this is the default item that will replace the elytra) just edit this text to any minecraft item you wish. If you have mods this should even accept modded item names.

Disclaimer!!! This will replace all elytras in item frames prior in the world (even the ones in your base for example). Elytra placed in frames AFTER the pack has been enabled will be fine, but not the ones before, so be aware.



"I want NO ITEM to spawn in the frames":

replace the "execute as.. line in the check_frame file mentioned earlier with this one. Yes, the disclaimer is also hold for this one.
execute as @e[type=minecraft:item_frame,tag=!elo_tagged,nbt={Item:{id:"minecraft:elytra"}}] run data remove entity @s Item.id

Edit: This pack does not contain any loot tables per se but is listed as such since the "loot" is still edited
CompatibilityMinecraft 1.13
toMinecraft 1.19
Tags

Create an account or sign in to comment.

1
10/23/2023 1:00 amhistory
Level 1 : New Miner
BTX_Vulture
BTX_Vulture's Avatar
Will it work on 1.20.1?
1
10/25/2023 10:01 am
Level 27 : Expert Professor
lerokko
lerokko's Avatar
2
03/29/2023 12:03 amhistory
Level 1 : New Miner
fantel
fantel's Avatar
Is it possible to make elytra spawn with enchantment or with a negative effect like minus half hp? If so, how?
1
03/29/2023 4:55 am
Level 27 : Expert Professor
lerokko
lerokko's Avatar
Yes it is possible to do taht you can generate the information you need on the item with the help of this website: mcstacker.net/
Although that requires some rudimentary knowledge of commands.
2
03/28/2023 8:10 am
Level 32 : Artisan Miner
Lostya
Lostya's Avatar
How can I make it randomised? I want 50/50 chance of it being an elytra or a totem of undying
2
03/28/2023 9:45 am
Level 27 : Expert Professor
lerokko
lerokko's Avatar
Item frames do not use a loottable afaik. Maybe it is possible to replace it with a chest item in the frame that when placed has either an Elytra or a totem inside but you would need to meddle with loottables and attach it to the chest item inside the item frame.
2
02/02/2023 12:17 am
Level 1 : New Miner
Easyidle123
Easyidle123's Avatar
Exactly what I need for my hardcore server, I'm gonna replace elytra with Totems of Undying and make that the only way to get them. Thanks!
1
08/28/2022 7:55 pm
Level 1 : New Miner
User4298608G
User4298608G's Avatar
I'm not able to download this data pack, do you have any ideas why?
1
08/29/2022 3:45 amhistory
Level 27 : Expert Professor
lerokko
lerokko's Avatar
No, it works for me. Maybe an overprotective browser/OS on your side. OR an adblock/cookie issue.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome