If you are setting up a hardcore ground-only survival run and do not want to give players substitute rewards like diamonds or enchanted golden apples, you can empty the End ship item frames entirely.
Clearing the Item Frame
The data pack includes an option to turn the End ship reward into empty air, leaving no treasure in the frame at all.
1. Open the in-game chat box by pressing T.
2. Type /function ebg:replace_with_air and press Enter.
3. Make sure to run this command before traveling to any new End cities.
When players board newly visited End ships while this setting is active, the pack clears the item frame completely by replacing the wings with air.
Combining with the Flight Disabler
Remember that /function ebg:replace_with_air only affects newly visited End ships. If players already obtained wings before you enabled this setting, they will still be able to fly unless you also run /function ebg:disable_elytras in the chat box to block the chestplate slot.