fix: 缩放逻辑修复(无需FreeCam)

This commit is contained in:
叁玖领域 2026-02-22 23:10:27 +08:00
parent 8c4ce2709c
commit 1ace616f41
4 changed files with 4 additions and 4 deletions

View File

@ -188,7 +188,7 @@ dependencies {
modCompileOnly("blank:freecam-1.20.1:1.2.1") modCompileOnly("blank:freecam-1.20.1:1.2.1")
onlyInClient { onlyInClient {
modRuntimeOnly ("blank:firstperson-1.20.1:2.6.2") 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 { onlyInServer {
modRuntimeOnly("curse.maven:spark-361579:4738952") modRuntimeOnly("curse.maven:spark-361579:4738952")

View File

@ -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. # 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 mod_license=Apache 2.0, CC BY-NC-SA 4.0
# The mod version. See https://semver.org/ # 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. # 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. # This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html # See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View File

@ -35,7 +35,7 @@ import top.r3944realms.eroticdungeongame.content.util.FurnitureHelper;
import top.r3944realms.eroticdungeongame.core.device.SeatType; import top.r3944realms.eroticdungeongame.core.device.SeatType;
public class RendererUtil { public class RendererUtil {
public static boolean enabled = false; public static boolean enabled = true;
public static <T extends LivingEntity> boolean warpRenderer(BlockPos seatPos, PlayerRenderer instance, @NotNull T entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight, Operation<Void> original) { public static <T extends LivingEntity> boolean warpRenderer(BlockPos seatPos, PlayerRenderer instance, @NotNull T entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight, Operation<Void> original) {
if (enabled) { if (enabled) {
BlockState blockState = entity.level().getBlockState(seatPos); BlockState blockState = entity.level().getBlockState(seatPos);