Skip to content

Commit

Permalink
Move some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AsoDesu committed Oct 26, 2022
1 parent 1f7e414 commit 951b42f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 19 deletions.
4 changes: 0 additions & 4 deletions src/main/java/net/asodev/islandutils/IslandUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
import net.asodev.islandutils.resourcepack.ResourcePackUpdater;
import net.asodev.islandutils.updater.UpdateManager;
import net.asodev.islandutils.updater.schema.AvailableUpdate;
import net.asodev.islandutils.updater.schema.GithubRelease;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import net.minecraft.client.Minecraft;

import java.util.Optional;
import java.util.logging.Logger;

public class IslandUtils implements ModInitializer {

Expand All @@ -31,7 +28,6 @@ public void onInitialize() {

updater = new UpdateManager();
updater.runUpdateCheck();

packUpdater = new ResourcePackUpdater();
packUpdater.get();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.asodev.islandutils.mixins;
package net.asodev.islandutils.mixins.cosmetics;

import com.mojang.blaze3d.platform.InputConstants;
import com.mojang.blaze3d.systems.RenderSystem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.asodev.islandutils.mixins;
package net.asodev.islandutils.mixins.cosmetics;

import com.google.gson.JsonObject;
import net.asodev.islandutils.state.CosmeticState;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.asodev.islandutils.mixins;
package net.asodev.islandutils.mixins.cosmetics;

import com.mojang.blaze3d.platform.Lighting;
import com.mojang.blaze3d.systems.RenderSystem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
package net.asodev.islandutils.mixins.resources;

import net.asodev.islandutils.resourcepack.IslandUtilsPackSource;
import net.fabricmc.fabric.impl.resource.loader.ModResourcePackCreator;
import net.minecraft.server.packs.PackResources;
import net.minecraft.server.packs.repository.Pack;
import net.minecraft.server.packs.repository.PackRepository;
import net.minecraft.server.packs.repository.RepositorySource;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.gen.Accessor;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.ModifyArg;
import org.spongepowered.asm.mixin.injection.ModifyArgs;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.util.HashSet;
Expand Down
6 changes: 2 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "islandutils",
"version": "${version}",
"name": "IslandUtils",
"description": "",
"description": "A Utility mod for MCC Island",
"authors": [],
"contact": {},
"license": "MIT",
Expand All @@ -13,9 +13,7 @@
"client": [ "net.asodev.islandutils.IslandutilsClient" ],
"main": [ "net.asodev.islandutils.IslandUtils" ],
"modmenu": [ "net.asodev.islandutils.options.ModMenuIntegration" ],
"sound-categories": [
"net.asodev.islandutils.options.IslandSoundCategories"
]
"sound-categories": [ "net.asodev.islandutils.options.IslandSoundCategories" ]
},
"mixins": [
"islandutils.mixins.json"
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/islandutils.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"package": "net.asodev.islandutils.mixins",
"compatibilityLevel": "JAVA_17",
"mixins": [
"ChestScreenMixin",
"FontLoaderMixin",
"cosmetics.ChestScreenMixin",
"cosmetics.FontLoaderMixin",
"resources.PackRepositoryMixin"
],
"client": [
Expand All @@ -14,7 +14,7 @@
"OptionsMixin",
"PacketListenerMixin",
"PauseScreenMixin",
"UIMixin",
"cosmetics.UIMixin",
"resources.MultiplayerJoinMixin",
"resources.ProgressScreenAccessor"
],
Expand Down

0 comments on commit 951b42f

Please sign in to comment.