Skip to content

Commit

Permalink
Merge pull request #197 from UQuark/latest-fabric
Browse files Browse the repository at this point in the history
update 1.20.1 branch to latest fabric loader
  • Loading branch information
fnuecke authored Apr 15, 2024
2 parents 96ea91b + 162773f commit 0f72925
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import net.fabricmc.fabric.api.client.model.ModelLoadingRegistry;
import net.fabricmc.fabric.api.event.client.player.ClientPickBlockGatherCallback;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.impl.entrypoint.EntrypointUtils;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.phys.BlockHitResult;
Expand All @@ -26,7 +25,9 @@ public void onInitializeClient() {
ClientBootstrap.run();
ClientSetup.run();

EntrypointUtils.invoke("tis3d:registration", FabricProviderInitializer.class, FabricProviderInitializer::registerProviders);
FabricLoader.getInstance()
.getEntrypoints("tis3d:registration", FabricProviderInitializer.class)
.forEach(FabricProviderInitializer::registerProviders);

ClientChunkEvents.CHUNK_UNLOAD.register((level, chunk) -> {
for (final BlockEntity blockEntity : chunk.getBlockEntities().values()) {
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ minecraft = "1.20.1"
parchment = "2023.08.13"

architectury = "9.1.12"
manual = "1.2.3"
manual = "1.2.5"

fabric-loader = "0.14.22"
fabric-loader = "0.15.6"
fabric-api = "0.87.0+1.20.1"
fabric-forgeConfigPort = "8.0.0"

Expand All @@ -20,14 +20,14 @@ spotless = { id = "com.diffplug.spotless", version = "6.20.0" }
[libraries]
minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" }
architectury-api = { group = "dev.architectury", name = "architectury", version.ref = "architectury" }
manual-api = { group = "curse.maven", name = "markdownmanual-502485", version = "4719409" }
manual-api = { group = "curse.maven", name = "markdownmanual-502485", version = "4873117" }

fabric-loader = { group = "net.fabricmc", name = "fabric-loader", version.ref = "fabric-loader" }
fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" }
fabric-architectury = { group = "dev.architectury", name = "architectury-fabric", version.ref = "architectury" }

fabric-forgeConfigPort = { group = "fuzs.forgeconfigapiport", name = "forgeconfigapiport-fabric", version.ref = "fabric-forgeConfigPort" }
fabric-manual = { group = "curse.maven", name = "markdownmanual-502485", version = "4719410" }
fabric-manual = { group = "curse.maven", name = "markdownmanual-502485", version = "4873117" }
fabric-roughlyEnoughItems = { group = "me.shedaniel", name = "RoughlyEnoughItems-fabric", version = "12.0.645" }

fabric-tooltipFix = { group = "curse.maven", name = "tooltipfix-411557", version = "4577194" }
Expand Down

0 comments on commit 0f72925

Please sign in to comment.