Skip to content

Commit

Permalink
Update to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Jun 14, 2024
1 parent 2d2370e commit a4798ce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions spark-fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ configurations {

dependencies {
// https://modmuss50.me/fabric.html
minecraft 'com.mojang:minecraft:24w21b'
mappings 'net.fabricmc:yarn:24w21b+build.5:v2'
minecraft 'com.mojang:minecraft:1.21'
mappings 'net.fabricmc:yarn:1.21+build.1:v2'
modImplementation 'net.fabricmc:fabric-loader:0.15.11'

Set<String> apiModules = [
Expand All @@ -40,12 +40,12 @@ dependencies {

// Add each module as a dependency
apiModules.forEach {
modImplementation(fabricApi.module(it, '0.99.0+1.20.6'))
modImplementation(fabricApi.module(it, '0.100.1+1.21'))
}

include(modImplementation('me.lucko:fabric-permissions-api:0.3.1'))

modImplementation('eu.pb4:placeholder-api:2.4.0-pre.1+1.20.5')
modImplementation('eu.pb4:placeholder-api:2.4.0-pre.2+1.21')

shade project(':spark-common')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
import me.lucko.spark.fabric.mixin.ServerWorldAccessor;

import net.minecraft.client.MinecraftClient;
import net.minecraft.client.world.ClientEntityManager;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.world.ServerEntityManager;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.world.entity.ClientEntityManager;
import net.minecraft.world.entity.EntityIndex;
import net.minecraft.world.entity.EntityTrackingSection;
import net.minecraft.world.entity.SectionedEntityCache;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

package me.lucko.spark.fabric.mixin;

import net.minecraft.client.world.ClientEntityManager;
import net.minecraft.entity.Entity;
import net.minecraft.world.entity.ClientEntityManager;
import net.minecraft.world.entity.EntityIndex;
import net.minecraft.world.entity.SectionedEntityCache;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

package me.lucko.spark.fabric.mixin;

import net.minecraft.client.world.ClientEntityManager;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.entity.Entity;

import net.minecraft.world.entity.ClientEntityManager;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;

Expand Down

0 comments on commit a4798ce

Please sign in to comment.