Novârch Posted June 16, 2020 Posted June 16, 2020 I want to make the game look black and white temporarily, like with the old Super Secret Settings, how would I do this? Quote It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".
Guest Posted June 16, 2020 Posted June 16, 2020 You can do that by calling ClientRegistry.registerEntityShader(PlayerEntity.class, new ResourceLocation("minecraft:shaders/post/desaturate.json")) in your FMLClientSetupEvent handler. This will desaturate the game partially. If you want full grayscale, you need to copy the shader JSON file, edit the desaturation factor and change the ResourceLocation to the new path. Be aware however that this will only grayscale the world, not the GUIs. Quote
Novârch Posted June 16, 2020 Author Posted June 16, 2020 On 6/16/2020 at 12:29 PM, XFactHD said: You can do that by calling ClientRegistry.registerEntityShader(PlayerEntity.class, new ResourceLocation("minecraft:shaders/post/desaturate.json")) in your FMLClientSetupEvent handler. This will desaturate the game partially. If you want full grayscale, you need to copy the shader JSON file, edit the desaturation factor and change the ResourceLocation to the new path. Be aware however that this will only grayscale the world, not the GUIs. Expand Thanks for the reply, seems like almost what I'm looking for, but the effect looks like it's permanent as I'm binding it to the player, is there a way I can make it toggleable? Quote It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".
Guest Posted June 16, 2020 Posted June 16, 2020 You can probably call ClientRegistry.registerEntityShader() in a KeyBinding handler and call it with the correct ResourceLocation to activate it and with null to deactivate it. For the change to take effect you can just set the renderViewEntity again with if (Minecraft.getInstance().getRenderViewEntity() instanceof PlayerEntity) { Minecraft.getInstance().setRenderViewEntity(Minecraft.getInstance().getRenderViewEntity); } This will only set the renderViewEntity if it wasn't changed by another mod or MC itself to not be a player. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.