From 81b2f211b80c211e6ad09ec6f6cd04b4d3a36e71 Mon Sep 17 00:00:00 2001 From: IzzelAliz Date: Fri, 30 Jul 2021 15:28:28 +0800 Subject: [PATCH] Add missing AT --- .../mixin/core/world/storage/DerivedWorldInfoMixin.java | 6 +++--- .../src/main/resources/META-INF/accesstransformer.cfg | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/storage/DerivedWorldInfoMixin.java b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/storage/DerivedWorldInfoMixin.java index ccdfb210..76c3e8f2 100644 --- a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/storage/DerivedWorldInfoMixin.java +++ b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/storage/DerivedWorldInfoMixin.java @@ -30,12 +30,12 @@ public class DerivedWorldInfoMixin implements DerivedWorldInfoBridge { if (ArclightConfig.spec().getCompat().isSymlinkWorld()) { String worldName = this.wrapped.getLevelName() + "_"; String suffix; - if (typeKey == DimensionType.END_LOCATION) { + if (typeKey == DimensionType.NETHER_LOCATION) { suffix = "nether"; - } else if (typeKey == DimensionType.NETHER_LOCATION) { + } else if (typeKey == DimensionType.END_LOCATION) { suffix = "the_end"; } else { - suffix = (typeKey.location().getNamespace() + "/" + typeKey.location().getPath()).replace('/', '_'); + suffix = (typeKey.location().getNamespace() + "_" + typeKey.location().getPath()).replace('/', '_'); } return worldName + suffix; } else { diff --git a/arclight-common/src/main/resources/META-INF/accesstransformer.cfg b/arclight-common/src/main/resources/META-INF/accesstransformer.cfg index 4f68b416..9a4307ae 100644 --- a/arclight-common/src/main/resources/META-INF/accesstransformer.cfg +++ b/arclight-common/src/main/resources/META-INF/accesstransformer.cfg @@ -392,8 +392,10 @@ public net.minecraft.world.level.block.ComposterBlock$InputContainer public net.minecraft.world.level.block.ComposterBlock$OutputContainer public net.minecraft.server.level.ServerLevel m_142646_()Lnet/minecraft/world/level/entity/LevelEntityGetter; public net.minecraft.world.level.Level m_142646_()Lnet/minecraft/world/level/entity/LevelEntityGetter; +public net.minecraft.client.multiplayer.ClientLevel m_142646_()Lnet/minecraft/world/level/entity/LevelEntityGetter; public net.minecraft.world.entity.Mob m_7582_()Lnet/minecraft/resources/ResourceLocation; public net.minecraft.world.entity.monster.Slime m_7582_()Lnet/minecraft/resources/ResourceLocation; +public net.minecraft.world.entity.monster.MagmaCube m_7582_()Lnet/minecraft/resources/ResourceLocation; public net.minecraft.server.MinecraftServer m_6681_(Ljava/lang/Runnable;)Lnet/minecraft/server/TickTask; public net.minecraft.server.level.ServerBossEvent m_143224_(Ljava/util/function/Function;)V public net.minecraft.server.level.ServerPlayer m_143399_(Lnet/minecraft/world/inventory/AbstractContainerMenu;)V