Skip to content

Conversation

@xpple
Copy link
Collaborator

@xpple xpple commented Mar 30, 2025

This PR adds a command to change the post effect of the game renderer. Examples include minecraft:creeper and minecraft:spider which will apply a funny affect (see minecraft.wiki/w/Spectator#Mob_view). These effects are read from assets/minecraft/post_effect into Minecraft.getInstance().getShaderManager().compilationCache.configs.postChains() but not all are actually useable. It might be possible to deduce which ones are by looking at their configs (PostChainConfig), but I just hardcoded the working ones.

@Earthcomputer Earthcomputer added the enhancement New feature or request label May 26, 2025
# Conflicts:
#	src/main/resources/clientcommands.aw
# Conflicts:
#	src/main/java/net/earthcomputer/clientcommands/ClientCommands.java
#	src/main/resources/assets/clientcommands/lang/en_us.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants