Shaders Utils plugin is available For
Forge: 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1
NeoForge: 1.20.1
Authors: Me with the help of Lucky
How to install
Please check https://mcreator.net/wiki/understand-plugins#toc-index-1 for installation guide.
Info
Shaders Utils is a plugin that allows you to apply a custom shader or a minecraft shader in minecraft, the plugin currently adds 10 new procedures to MCreator of which an exclusive procedure for 1.14.4 and for versions after 1.16.5 (excluded), and two exclusive for versions lower than 1.16.5 (included). To apply a shader you must first check that the world is client side and that the entity is a player otherwise you may crash the game. You must always compare the "get shader group" (avaiable for versions below 1.16.5, included) procedure with the null procedure otherwise it will give you an error, the same thing goes for the procedure "is the shader active" from 1.17.1 (included) onwards. Shaders must be triggered by either player or procedure ticks and shaders must be activated and deactivated in the same procedure to work properly.
Minecraft Shaders List: here
Example (you can find this procedure in the procedure templates):
This procedure shows how to apply a shader of your choice giving you the speed effect (I recommend creating a separate folder for shaders for example mod_id:shaders/shader_name.json).
Other Explanations:
This procedure allows you to apply an existing minecraft shader by selecting it from one of the monster shaders (creeper, enderman, spider).
This procedure allows you to temporarily deactivate/reactivate the shader (it can also be done in game by clicking the f4 key).
This procedure allows you to change the size of the screen (useful for making very strange effects), it is reset by removing the shader.
My Other Plugins:
- Minecraft Forge 1.14.4 Java Edition/Datapack Generator
- Minecraft Forge 1.15.2 Java Edition/Datapack Generator
- Minecraft Forge 1.16.5 Java Edition/Datapack Generator
- Minecraft Forge 1.17.1 Java Edition/Datapack Generator
- Minecraft Forge 1.18.2 Java Edition/Datapack Generator
- Minecraft Forge 1.19.2 Java Edition/Datapack Generator
Contributing
You are welcome to support this project by opening pull requests.
Changelog
-Added support for MCreator 2023.3
-Added NeoForge Compatibility
-Bug Fix
-Added 2 procedure templates for loading multiple effects that apply shaders
-Fix Procedure Template
-Fix Procedures Template
-Added 1.20.1 support
-Fix Warning Translation
-Release of Shaders Utils plugin.
Attachment | Size |
---|---|
Shaders Utils V1.1.188.02 KB | 88.02 KB |
Shaders Utils V1.1.287.99 KB | 87.99 KB |
Shaders Utils V1.292.12 KB | 92.12 KB |
Shaders Utils V1.2.193.66 KB | 93.66 KB |
Shaders Utils V1.2.2 [Latest]94.42 KB | 94.42 KB |
Comments
I think I found a Issue while I tested it by using it with Command. First of all it doesn't work without "Player Tick Rate" Global Trigger. Also it seems that some Shaders like the Creeper doesn't remove automatically if I remove the current Shader from the Player. After I switch the Perspective with F5 you see the Changes. But for some reason it automatically remove the Shader of the Invert (aka Enderman Vision) if I remove the current Shader.
I'm on 1.19.2 using Mcreator 2023.2, I'd like to apply the shader while the player has a custom potion effect, and for the shader I'd like to use an anaglyph or a "glitch" shader but as far as I know the anaglyph shader got removed from Minecraft and I didn't find any on google so I guess I'll have to make one myself
good. I figured it out. but for some reason, the procedure still doesn't work. version 1.18.2 (Shaders Utils V1.2)
I have created an item that gives me a block and should turn on the shader when the right mouse button is clicked. I also created my shader folder as suggested. screen https://i.imgur.com/ygwFbZX.png
the block is issued, but the shader has not been activated. What am I doing wrong?
shaders must be applied with the on player tick update trigger because otherwise they won't be applied (for what you want to do you can create a variable that gets set to True when you right click that object and that activates the shader (so you'll have to remove the condition of the Speed effect and put the variable if it is true or false).Another thing if you want to apply the "invert" shader you don't necessarily need to add it to your mod you can get it from Minecraft in this path: minecraft:shaders/post/invert.json, if you don't understand I'll send you some screenshot of how you could do it
Thanks! I succeeded, except for the moment of the condition, because I could not find suitable "procedure blocks". So I made a separate "potion effect" for my subject to specify it instead of "speed"
https://imgur.com/afMCpVA
my main problem is the language barrier. I use a translator to search for information, so I don't understand a lot.
This is really cool!