Add Nullscape support to End Fishing #1055
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, End Fishing only supports the Vanilla biomes. This PR adds support for Nullscape biomes - meaning loot can be gained by fishing in Nullscape's biomes. This is also important, since Nullscape prevents a couple of vanilla end biomes from generating.
History
This was previously discussed over a year ago, but it was not easily possible due to how End Fishing is set up. Now that it is possible to reference biome tags in loot tables, this idea is possible (and can be expanded to other custom end biomes if needed in the future).
Implementation
Three new biome tags were made, following the
gm4_end_fishing:nullscape/[biome]
schema. These tags reference the respective Nullscape biome, settingrequired
tofalse
. Then the loot tables reference the tags as they would any other vanilla end biome.Nullscape Biome Loot
Note
While working on the loot tables, I noticed that Captain's Wings (elytra) was an inline definition in the
scattered_treasure
loot table. Instead of making a new PR for it, I just moved it togm4_end_fishing:items/captains_wings
(just likeravaged_wings
already is) in bb4c0aa. This can be reverted if for some reason it is not wanted.