mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-17 20:25:09 +01:00
Final changes before 5.0.0
This commit is contained in:
@@ -4,6 +4,6 @@ Ever thought that the world behind your inventory was just too distracting?
|
|||||||
Or that the default Minecraft blur effect is just too boring?
|
Or that the default Minecraft blur effect is just too boring?
|
||||||
Then this mod is just right for you!
|
Then this mod is just right for you!
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Download now on [Modrinth](https://modrinth.com/mod/blur-fabric)
|
Download now on [Modrinth](https://modrinth.com/mod/blur-plus)
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 15 KiB |
@@ -3,12 +3,16 @@ package eu.midnightdust.blur.fabric;
|
|||||||
import eu.midnightdust.blur.Blur;
|
import eu.midnightdust.blur.Blur;
|
||||||
import eu.midnightdust.blur.util.RainbowColor;
|
import eu.midnightdust.blur.util.RainbowColor;
|
||||||
import net.fabricmc.api.ClientModInitializer;
|
import net.fabricmc.api.ClientModInitializer;
|
||||||
|
import net.fabricmc.api.ModInitializer;
|
||||||
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
|
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
|
||||||
|
|
||||||
public class BlurFabric implements ClientModInitializer {
|
public class BlurFabric implements ModInitializer, ClientModInitializer {
|
||||||
|
@Override
|
||||||
|
public void onInitialize() {
|
||||||
|
Blur.init();
|
||||||
|
}
|
||||||
@Override
|
@Override
|
||||||
public void onInitializeClient() {
|
public void onInitializeClient() {
|
||||||
Blur.init();
|
|
||||||
ClientTickEvents.END_CLIENT_TICK.register(client -> RainbowColor.tick());
|
ClientTickEvents.END_CLIENT_TICK.register(client -> RainbowColor.tick());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"icon": "assets/blur/icon.png",
|
"icon": "assets/blur/icon.png",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
|
"main": [
|
||||||
|
"eu.midnightdust.blur.fabric.BlurFabric"
|
||||||
|
],
|
||||||
"client": [
|
"client": [
|
||||||
"eu.midnightdust.blur.fabric.BlurFabric"
|
"eu.midnightdust.blur.fabric.BlurFabric"
|
||||||
]
|
]
|
||||||
|
|||||||
BIN
neoforge/src/main/resources/blur.png
Normal file
BIN
neoforge/src/main/resources/blur.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Reference in New Issue
Block a user