Open magmamir opened 2 weeks ago
actual issue is that some components are now using some datapack registry content and polytone, being resource pack driven, is loading them on pack load that happens way before a world is loaded. I should mvoe their loading after, same time as to when biome modifiers and others apply
Seems that this is fixed in 2.4.7-version. Thank you for the quick patch! But now it seems that there is another issue. If you re-enter the world, added items with creative tab modifiers will stack with each entry into the world, until you reload your resources. When you reload them everything becomes normal.
more info? i tried this with the sample pack and i cant replicate
Issue exist on both, the last release of Quilt Loader and the last release of Fabric Loader Only Fabric API 0.102.0+1.21 and polytone-1.21-2.4.10-fabric were installed.
Steps to reproduce:
(as far as I've been able to find out, this bug doesn't always show itself if there is no jukebox_playable component in creative_tab_modifier)
Polytone 1.21-2.4.6 Fabric Fabric API 0.102.0+1.21
Components like "minecraft:jukebox_playable" or "minecraft:enchantments" don't work, because they use compound data type and seems Polytone don't processes it properly. I tested it with creative tab modifiers feature, but this may apply to every .json file in Polytone that somehow interacts with item components.
For example, components like this:
will work, as they use int and string data types.
But for example components like this:
return exception to Polytone, and deactivate all resource packs.
This is what logs say:
More specifically, this is Creative Tab Modifiers json file that work properly: working.json These are Creative Tab Modifiers that do not work properly, although they should: not_wroking_1.json not_wroking_2.json