Fabric API

Fabric API

106M Downloads

Banner Pattern API.

prohitman opened this issue · 5 comments

commented

It would so nice if the fabric api provided a specific banner pattern api, of which we can add custom patterns without the need of going through the risks of ASMs. And i know abt the impossibilty of having extensible enums in general, but isnt there a specific way to make custom banner patterns easily doable?

commented

Banner patterns can now be added using a registry:

Identifier id = new Identifier("mymod", "pattern");
Registry.register(Registries.BANNER_PATTERN, id, new BannerPattern(id.toString()));

is there any guide to how to use it?

commented

Banner patterns can now be added using a registry:

Identifier id = new Identifier("mymod", "pattern");
Registry.register(Registries.BANNER_PATTERN, id, new BannerPattern(id.toString()));
commented

FabLabs has Banner++, which hopefully will become part of Fabric API eventually.

commented

FabLabs has Banner++, which hopefully will become part of Fabric API eventually.

Oh that's nice! So it is confirmed?

commented

Oh that's nice! So it is confirmed?

It's under debate, and we're gonna see if it gets merged in. For now, just use Banner++ directly.