Skip to content

Commit 9ce901d

Browse files
authored
Merge pull request #219 from TheDeathlyCow/1.21
2 parents 3f176c8 + e1095e5 commit 9ce901d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

cardinal-components-level/src/main/java/org/ladysnake/cca/mixin/level/common/MixinLevelProperties.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import net.minecraft.storage.NbtWriteView;
3333
import net.minecraft.util.ErrorReporter;
3434
import net.minecraft.util.math.BlockPos;
35+
import net.minecraft.world.WorldProperties;
3536
import net.minecraft.world.gen.GeneratorOptions;
3637
import net.minecraft.world.level.LevelInfo;
3738
import net.minecraft.world.level.LevelProperties;
@@ -62,8 +63,8 @@ public abstract class MixinLevelProperties implements ServerWorldProperties, Com
6263
@Unique
6364
private ComponentContainer components;
6465

65-
@Inject(method = "<init>(Lnet/minecraft/nbt/NbtCompound;ZLnet/minecraft/util/math/BlockPos;FJJIIIZIZZZLjava/util/Optional;IILjava/util/UUID;Ljava/util/Set;Ljava/util/Set;Lnet/minecraft/world/timer/Timer;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lcom/mojang/serialization/Lifecycle;)V", at = @At("RETURN"))
66-
private void initComponents(NbtCompound playerData, boolean modded, BlockPos spawnPos, float spawnAngle, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, Optional worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set serverBrands, Set removedFeatures, Timer scheduledEvents, NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, Lifecycle lifecycle, CallbackInfo ci) {
66+
@Inject(method = "<init>(Lnet/minecraft/nbt/NbtCompound;ZLnet/minecraft/world/WorldProperties$SpawnPoint;JJIIIZIZZZLjava/util/Optional;IILjava/util/UUID;Ljava/util/Set;Ljava/util/Set;Lnet/minecraft/world/timer/Timer;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;Lnet/minecraft/world/level/LevelInfo;Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/level/LevelProperties$SpecialProperty;Lcom/mojang/serialization/Lifecycle;)V", at = @At("RETURN"))
67+
private void initComponents(NbtCompound playerData, boolean modded, SpawnPoint spawnPoint, long time, long timeOfDay, int version, int clearWeatherTime, int rainTime, boolean raining, int thunderTime, boolean thundering, boolean initialized, boolean difficultyLocked, Optional worldBorder, int wanderingTraderSpawnDelay, int wanderingTraderSpawnChance, UUID wanderingTraderId, Set serverBrands, Set removedFeatures, Timer scheduledEvents, NbtCompound customBossEvents, EnderDragonFight.Data dragonFight, LevelInfo levelInfo, GeneratorOptions generatorOptions, LevelProperties.SpecialProperty specialProperty, Lifecycle lifecycle, CallbackInfo ci) {
6768
this.components = StaticLevelComponentPlugin.createContainer(this);
6869
}
6970

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ org.gradle.parallel=true
44
fabric.loom.multiProjectOptimisation=true
55

66
#see https://fabricmc.net/develop/
7-
minecraft_version=25w36b
8-
yarn_mappings=16
7+
minecraft_version=1.21.10
8+
yarn_mappings=2
99
loader_version=0.17.2
1010
#Fabric api
11-
fabric_api_version=0.133.1+1.21.9
11+
fabric_api_version=0.135.0+1.21.10
1212

1313
elmendorf_version=0.16.0
1414

@@ -18,8 +18,8 @@ immersive_portals_version=v6.0.3-mc1.21.1
1818
mod_version = 7.1.0-beta.1
1919
curseforge_id = 318449
2020
modrinth_id = K01OU20C
21-
curseforge_versions = 1.21.9-snapshot
22-
modrinth_versions = 25w36b
21+
curseforge_versions = 1.21.10
22+
modrinth_versions = 1.21.10
2323
release_type = beta
2424
display_name = Cardinal-Components-API
2525
owners = Ladysnake

0 commit comments

Comments
 (0)