diff --git a/build.gradle b/build.gradle index dc7d81a6..a69b0f8d 100644 --- a/build.gradle +++ b/build.gradle @@ -188,7 +188,7 @@ dependencies { modCompileOnly("blank:freecam-1.20.1:1.2.1") onlyInClient { modRuntimeOnly ("blank:firstperson-1.20.1:2.6.2") - modRuntimeOnly("blank:freecam-1.20.1:1.2.1") +// modRuntimeOnly("blank:freecam-1.20.1:1.2.1") } onlyInServer { modRuntimeOnly("curse.maven:spark-361579:4738952") diff --git a/gradle.properties b/gradle.properties index 29695b83..c009f0aa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -44,7 +44,7 @@ mod_name=Erotic Dungeon Game # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=Apache 2.0, CC BY-NC-SA 4.0 # The mod version. See https://semver.org/ -mod_version=26H6 +mod_version=26H6_Hotfix_202602222300 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/top/r3944realms/eroticdungeongame/client/util/RendererUtil.java b/src/main/java/top/r3944realms/eroticdungeongame/client/util/RendererUtil.java index 2338b5c2..1080502d 100644 --- a/src/main/java/top/r3944realms/eroticdungeongame/client/util/RendererUtil.java +++ b/src/main/java/top/r3944realms/eroticdungeongame/client/util/RendererUtil.java @@ -35,7 +35,7 @@ import top.r3944realms.eroticdungeongame.content.util.FurnitureHelper; import top.r3944realms.eroticdungeongame.core.device.SeatType; public class RendererUtil { - public static boolean enabled = false; + public static boolean enabled = true; public static boolean warpRenderer(BlockPos seatPos, PlayerRenderer instance, @NotNull T entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight, Operation original) { if (enabled) { BlockState blockState = entity.level().getBlockState(seatPos); diff --git a/src/main/java/top/r3944realms/eroticdungeongame/mixin/minecraft/MixinCamera.java b/src/main/java/top/r3944realms/eroticdungeongame/mixin/minecraft/MixinCamera.java index 43be4e41..b6ceb515 100644 --- a/src/main/java/top/r3944realms/eroticdungeongame/mixin/minecraft/MixinCamera.java +++ b/src/main/java/top/r3944realms/eroticdungeongame/mixin/minecraft/MixinCamera.java @@ -53,7 +53,7 @@ public class MixinCamera { return Services.WORK_SPACE.tryToDoIfInDeviceAndRet( Minecraft.getInstance().player, data -> { - if (Minecraft.getInstance().cameraEntity != null && Objects.equals(Minecraft.getInstance().cameraEntity, Minecraft.getInstance().player) && RendererUtil.enabled) { + if (Minecraft.getInstance().cameraEntity != null && Objects.equals(Minecraft.getInstance().cameraEntity, Minecraft.getInstance().player) && RendererUtil.enabled) { // 先执行原始的clip方法获取碰撞结果 BlockHitResult hitResult = original.call(instance, context);