Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 16 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -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\<username>\.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.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 7 additions & 3 deletions src/main/java/net/mine_diver/macula/Shaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down