diff --git a/README.md b/README.md index 9379142..5af7d3f 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,25 @@ -# Fabric Example Mod with BIN Mappings for beta 1.7.3 server + client +# Macula (client-side only mod) -## Setup +Mod Version: 1.1.1 -For setup instructions please see the [fabric wiki page](https://fabricmc.net/wiki/tutorial:setup) that relates to the IDE that you are using. +Requirements: Babric (https://github.com/babric/prism-instance) -NOTE: There is no Fabric-API for beta 1.7.3! -There is [StationLoader](com/modificationstation/StationLoader) and [Cursed-Legacy-API](https://github.com/minecraft-cursed-legacy/Cursed-Legacy-API) though. +Compatibility: Incompatible with SmoothBeta -Extra steps for better mixin making in IntelliJ: +Modrinth: https://modrinth.com/mod/macula -1. Go to `File > Settings...` -2. Go to `Plugins > The gear in the top middle > Manage Plugin Repositories...` -3. Press `+` and add one of these: (You can check your version in `Help > About`) - - If using 2019.2: https://raw.githubusercontent.com/Earthcomputer/MinecraftDev/dev_new/updates/updatePlugins-192.xml - - If using 2019.3: https://raw.githubusercontent.com/Earthcomputer/MinecraftDev/dev_new/updates/updatePlugins-193.xml - - If using 2020.1: https://raw.githubusercontent.com/Earthcomputer/MinecraftDev/dev_new/updates/updatePlugins-201.xml -4. Refresh the plugin repo (restarting will do the trick). -5. Go back to plugins and install the `Minecraft Development` plugin. -6. Restart again. -7. Profit! +Info: Shaders mod for Minecraft Beta 1.7.3 updated to include more features, like dynamic shadows. -## Using a Mod +Previously known as just GLSL shaders. -You will want to use the [Cursed Fabric MultiMC Instance](https://github.com/calmilamsy/Cursed-Fabric-MultiMC) +### Common Error +There is no way to disable the following error: -## Common Issues +``` +########## GL ERROR ########## +@ Post render +1282: Invalid operation +``` -**Gradle says something about not being able to resolve Minecraft or another dependency!** -Just go into `C:\users\\.gradle\caches` (`~/.gradle/caches` on other OSes), delete `fabric-loom` and refresh Gradle. - -**My Minecraft run profile is missing from the top right!** -Go into `Run Configurations > Edit...` and click the dropdown for applications. Click on minecraft and press OK. Both client and server run profiles should both in the rop right now. - -**I moved my project and everything broke!** -Go into run configurations and double check your `VM Options` and `Working Directory` parameters. - -**X mixin isnt working!** -Double check your target and method parameters and make sure you have filled out your `@At` parameter if required. -If you are still having issues, join the [ModStation Discord](https://discord.gg/8Qky5XY) and contact someone there. - -## License - -This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects. +A future modder will need to turn off OpenGL errors for it to go away. +This is easier said than done. Hence, it hasn't been done yet. diff --git a/gradle.properties b/gradle.properties index 94a3c17..0c530f7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,9 +6,9 @@ org.gradle.parallel=true # check these on https://babric.github.io/develop/ minecraft_version=b1.7.3 yarn_mappings=b1.7.3-build.2 - loader_version=0.14.19-babric.1 + loader_version=0.14.24-babric.1 # Mod Properties - mod_version = 1.1 + mod_version = 1.1.1 maven_group = net.mine_diver archives_base_name = Macula diff --git a/src/main/java/net/mine_diver/macula/Shaders.java b/src/main/java/net/mine_diver/macula/Shaders.java index 9978982..32cc442 100644 --- a/src/main/java/net/mine_diver/macula/Shaders.java +++ b/src/main/java/net/mine_diver/macula/Shaders.java @@ -1006,9 +1006,13 @@ public static String getEnumShaderOption(ShaderOption eso) { } public static void setShaderPack(String shaderPack) { - currentShaderName = shaderPack; - shadersConfig.setProperty(ShaderOption.SHADER_PACK.getPropertyKey(), shaderPack); - loadShaderPack(); + if (null != MinecraftInstance.get()) { + if (null != MinecraftInstance.get().player) { + currentShaderName = shaderPack; + shadersConfig.setProperty(ShaderOption.SHADER_PACK.getPropertyKey(), shaderPack); + loadShaderPack(); + } + } } public static void loadShaderPack() {