Nettakrim / Souper-Secret-Settings

GNU Lesser General Public License v3.0
7 stars 2 forks source link

[Feature/Addon Request] Set consumed shaders via custom item component #14

Open mclegoman opened 5 months ago

mclegoman commented 5 months ago

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.

Nettakrim commented 5 months ago

ooh yeah that is interesting, i need to look into components some more since they do seem cool

mclegoman commented 5 months ago

yeah, I used them in my april fools mod pretty much as they released, they're quite cool.