Minecraft Data Packs / Other

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

  • check_circle Functions
  • check_circle Loot Tables
  • 3,570 views, 1 today
  • 403 downloads, 0 today
  • 9
  • 8
  • 9
lerokko's Avatar lerokko
Level 28 : 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.

BTX_Vulture
10/23/2023 1:00 am
Level 1 : New Miner
history
BTX_Vulture's Avatar
Will it work on 1.20.1?
1
lerokko
10/25/2023 10:01 am
Level 28 : Expert Professor
lerokko's Avatar
1
fantel
03/29/2023 12:03 am
Level 1 : New Miner
history
fantel's Avatar
Is it possible to make elytra spawn with enchantment or with a negative effect like minus half hp? If so, how?
2
lerokko
03/29/2023 4:55 am
Level 28 : Expert Professor
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.
1
Lostya
03/28/2023 8:10 am
Level 33 : Artisan Miner
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
lerokko
03/28/2023 9:45 am
Level 28 : Expert Professor
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
Easyidle123
02/02/2023 12:17 am
Level 1 : New Miner
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!
2
User4298608G
08/28/2022 7:55 pm
Level 1 : New Miner
User4298608G's Avatar
I'm not able to download this data pack, do you have any ideas why?
1
lerokko
08/29/2022 3:45 am
Level 28 : Expert Professor
history
lerokko's Avatar
No, it works for me. Maybe an overprotective browser/OS on your side. OR an adblock/cookie issue.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome