From d679e3852a6733ffe38c1e6004f494d920225b59 Mon Sep 17 00:00:00 2001
From: 1024-byteeeee <2270484921@qq.com>
Date: Tue, 4 Feb 2025 23:00:18 +0800
Subject: [PATCH] =?UTF-8?q?:fire:=20=E6=B8=85=E7=90=86=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../BlockPatternMixin.java | 37 -----------------
.../ClientSettingsC2SPacketAccessor.java | 35 ----------------
.../TranslatableTextAccessor.java | 41 -------------------
3 files changed, 113 deletions(-)
delete mode 100644 versions/1.16.5/src/main/java/club/mcams/carpet/mixin/rule/optimizedDragonRespawn/BlockPatternMixin.java
delete mode 100644 versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/ClientSettingsC2SPacketAccessor.java
delete mode 100644 versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/TranslatableTextAccessor.java
diff --git a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/rule/optimizedDragonRespawn/BlockPatternMixin.java b/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/rule/optimizedDragonRespawn/BlockPatternMixin.java
deleted file mode 100644
index 2957d7e3..00000000
--- a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/rule/optimizedDragonRespawn/BlockPatternMixin.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This file is part of the Carpet AMS Addition project, licensed under the
- * GNU Lesser General Public License v3.0
- *
- * Copyright (C) 2023 A Minecraft Server and contributors
- *
- * Carpet AMS Addition is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Carpet AMS Addition is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Carpet AMS Addition. If not, see .
- */
-
-package club.mcams.carpet.mixin.rule.optimizedDragonRespawn;
-
-import com.google.common.cache.LoadingCache;
-
-import net.minecraft.block.pattern.BlockPattern;
-import net.minecraft.block.pattern.CachedBlockPosition;
-import net.minecraft.util.math.BlockPos;
-import net.minecraft.util.math.Direction;
-
-import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.gen.Invoker;
-
-@Mixin(BlockPattern.class)
-public interface BlockPatternMixin {
- @Invoker("testTransform")
- BlockPattern.Result invokeTestTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache cache);
-}
diff --git a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/ClientSettingsC2SPacketAccessor.java b/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/ClientSettingsC2SPacketAccessor.java
deleted file mode 100644
index 11f004af..00000000
--- a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/ClientSettingsC2SPacketAccessor.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * This file is part of the Carpet AMS Addition project, licensed under the
- * GNU Lesser General Public License v3.0
- *
- * Copyright (C) 2023 A Minecraft Server and contributors
- *
- * Carpet AMS Addition is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Carpet AMS Addition is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Carpet AMS Addition. If not, see .
- */
-
-package club.mcams.carpet.mixin.translations;
-
-import net.minecraft.network.packet.c2s.play.ClientSettingsC2SPacket;
-
-import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.gen.Accessor;
-
-import top.byteeeee.annotationtoolbox.annotation.GameVersion;
-
-@GameVersion(version = "Minecraft < 1.18")
-@Mixin(ClientSettingsC2SPacket.class)
-public interface ClientSettingsC2SPacketAccessor {
- @Accessor(value = "language")
- String getLanguage$AMS();
-}
\ No newline at end of file
diff --git a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/TranslatableTextAccessor.java b/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/TranslatableTextAccessor.java
deleted file mode 100644
index caa5a9f3..00000000
--- a/versions/1.16.5/src/main/java/club/mcams/carpet/mixin/translations/TranslatableTextAccessor.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * This file is part of the Carpet AMS Addition project, licensed under the
- * GNU Lesser General Public License v3.0
- *
- * Copyright (C) 2023 A Minecraft Server and contributors
- *
- * Carpet AMS Addition is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Carpet AMS Addition is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Carpet AMS Addition. If not, see .
- */
-
-package club.mcams.carpet.mixin.translations;
-
-import net.minecraft.text.StringVisitable;
-import net.minecraft.text.TranslatableText;
-
-import org.spongepowered.asm.mixin.Mixin;
-import org.spongepowered.asm.mixin.gen.Accessor;
-import org.spongepowered.asm.mixin.gen.Invoker;
-import top.byteeeee.annotationtoolbox.annotation.GameVersion;
-
-import java.util.List;
-
-@GameVersion(version = "Minecraft < 1.18")
-@Mixin(TranslatableText.class)
-public interface TranslatableTextAccessor {
- @Accessor
- List getTranslations();
-
- @Invoker
- void invokeSetTranslation(String translation);
-}