[1.12] Automatically make Banner Patterns for patterns in enum
democat3457 opened this issue ยท 1 comments
What
Create Banner Patterns for patterns added by other mods
Why
If other mods like Quark use Minecraft's EnumHelper
to add patterns that use items into the net.minecraft.tileentity.BannerPattern
enum, it becomes inconsistent with the Banner Patterns already added by FutureMC.
How
Automatically create BannerPatternItem
s for each pattern in the enum.
- Could loop through
BannerPattern.values
and filter patterns that don't have apatternItem
ofItemStack.EMPTY
- Dynamically create the meta length and copy indices over to the new pattern list
And/or, add API methods to make banner patterns or add Loom recipes