File tree Expand file tree Collapse file tree
src/main/java/net/infugogr/barracuda Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import net .fabricmc .fabric .api .object .builder .v1 .entity .FabricDefaultAttributeRegistry ;
55import net .fabricmc .fabric .api .transfer .v1 .fluid .FluidStorage ;
66import net .fabricmc .fabric .api .transfer .v1 .item .ItemStorage ;
7+ import net .fabricmc .loader .api .FabricLoader ;
78import net .infugogr .barracuda .block .ModBlocks ;
89import net .infugogr .barracuda .block .entity .*;
910import net .infugogr .barracuda .block .recipes .CentrifugeRecipeManager ;
@@ -35,6 +36,11 @@ public static Text containerTitle(String name) {
3536 }
3637
3738 public void onInitialize () {
39+ if (FabricLoader .getInstance ().isModLoaded ("geckolib3" )) {
40+ throw new RuntimeException (
41+ "Barracuda requires GeckoLib! Please install GeckoLib 4.x for your Minecraft version."
42+ );
43+ }
3844 LOGGER .info ("Loading..." );
3945 // Load registry classes
4046 ModItems .registerModItems ();
You can’t perform that action at this time.
0 commit comments