Note: this feature would require the mod to be installed on both the client and the server.
could it work better as an addon mod? or part of soup but have it optional for servers?
1.20.5 added Item Components, using these we could make any consumable item give a shader(s) when consumed.
Ideally, we could make it so when the player used the following command: /give @a minecraft:bread[souper_secret_settings:shaders={shaders:['minecraft:creeper','minecraft:invert']}], and then consumed the bread they'd get both the creeper and invert shaders.
If the item component is on soup, it should use the item component instead of a random shader.
We could also add a check if a tag list is available, use the tag list instead of soup - with the default tag list being just soup.
If no tag list is found, just check for soup or item component.
If the item component is provided but empty, it could use a random shader.
Note: this feature would require the mod to be installed on both the client and the server. could it work better as an addon mod? or part of soup but have it optional for servers?
1.20.5 added Item Components, using these we could make any consumable item give a shader(s) when consumed. Ideally, we could make it so when the player used the following command:
/give @a minecraft:bread[souper_secret_settings:shaders={shaders:['minecraft:creeper','minecraft:invert']}]
, and then consumed the bread they'd get both the creeper and invert shaders.