mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-21 11:35:16 +01:00
1.21.2 -> 1.21.3, VV 5.1.2, Loader 0.16.9. (#381)
This commit is contained in:
parent
441cd893ac
commit
74ba7ebc3e
@ -1,8 +1,8 @@
|
|||||||
# suppress inspection "UnusedProperty" for whole file
|
# suppress inspection "UnusedProperty" for whole file
|
||||||
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
|
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
|
||||||
|
|
||||||
loader_version=0.16.7
|
loader_version=0.16.9
|
||||||
viaver_version=5.1.1
|
viaver_version=5.1.2-SNAPSHOT
|
||||||
|
|
||||||
publish_mc_versions=1.21.3, 1.21.2, 1.20.6, 1.20.4, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4
|
publish_mc_versions=1.21.3, 1.21.2, 1.20.6, 1.20.4, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4
|
||||||
# example: 1.19.1-rc1. Can be a blank value
|
# example: 1.19.1-rc1. Can be a blank value
|
||||||
|
@ -17,7 +17,7 @@ include("viafabric-mc1194")
|
|||||||
include("viafabric-mc1201")
|
include("viafabric-mc1201")
|
||||||
include("viafabric-mc1204")
|
include("viafabric-mc1204")
|
||||||
include("viafabric-mc1206")
|
include("viafabric-mc1206")
|
||||||
include("viafabric-mc1212")
|
include("viafabric-mc1213")
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
dependencies {
|
|
||||||
minecraft("com.mojang:minecraft:1.21.2")
|
|
||||||
mappings("net.fabricmc:yarn:1.21.2+build.1:v2")
|
|
||||||
|
|
||||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.106.1+1.21.2")
|
|
||||||
modImplementation("com.terraformersmc:modmenu:12.0.0-beta.1")
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.compileJava {
|
|
||||||
options.release.set(21)
|
|
||||||
}
|
|
11
viafabric-mc1213/build.gradle.kts
Normal file
11
viafabric-mc1213/build.gradle.kts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
dependencies {
|
||||||
|
minecraft("com.mojang:minecraft:1.21.3")
|
||||||
|
mappings("net.fabricmc:yarn:1.21.3+build.2:v2")
|
||||||
|
|
||||||
|
modImplementation("net.fabricmc.fabric-api:fabric-api:0.107.0+1.21.3")
|
||||||
|
modImplementation("com.terraformersmc:modmenu:12.0.0-beta.1")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.compileJava {
|
||||||
|
options.release.set(21)
|
||||||
|
}
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212;
|
package com.viaversion.fabric.mc1213;
|
||||||
|
|
||||||
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
||||||
import com.mojang.brigadier.arguments.StringArgumentType;
|
import com.mojang.brigadier.arguments.StringArgumentType;
|
||||||
@ -25,9 +25,9 @@ import com.viaversion.fabric.common.config.VFConfig;
|
|||||||
import com.viaversion.fabric.common.platform.FabricInjector;
|
import com.viaversion.fabric.common.platform.FabricInjector;
|
||||||
import com.viaversion.fabric.common.protocol.HostnameParserProtocol;
|
import com.viaversion.fabric.common.protocol.HostnameParserProtocol;
|
||||||
import com.viaversion.fabric.common.util.JLoggerToLog4j;
|
import com.viaversion.fabric.common.util.JLoggerToLog4j;
|
||||||
import com.viaversion.fabric.mc1212.commands.VFCommandHandler;
|
import com.viaversion.fabric.mc1213.commands.VFCommandHandler;
|
||||||
import com.viaversion.fabric.mc1212.platform.FabricPlatform;
|
import com.viaversion.fabric.mc1213.platform.FabricPlatform;
|
||||||
import com.viaversion.fabric.mc1212.platform.VFLoader;
|
import com.viaversion.fabric.mc1213.platform.VFLoader;
|
||||||
import com.viaversion.viaversion.ViaManagerImpl;
|
import com.viaversion.viaversion.ViaManagerImpl;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
@ -15,9 +15,9 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212;
|
package com.viaversion.fabric.mc1213;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc1212.gui.ViaConfigScreen;
|
import com.viaversion.fabric.mc1213.gui.ViaConfigScreen;
|
||||||
import net.fabricmc.api.ClientModInitializer;
|
import net.fabricmc.api.ClientModInitializer;
|
||||||
import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents;
|
import net.fabricmc.fabric.api.client.screen.v1.ScreenEvents;
|
||||||
import net.fabricmc.fabric.api.client.screen.v1.Screens;
|
import net.fabricmc.fabric.api.client.screen.v1.Screens;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.commands;
|
package com.viaversion.fabric.mc1213.commands;
|
||||||
|
|
||||||
import com.viaversion.viaversion.api.command.ViaCommandSender;
|
import com.viaversion.viaversion.api.command.ViaCommandSender;
|
||||||
import com.viaversion.viaversion.util.ComponentUtil;
|
import com.viaversion.viaversion.util.ComponentUtil;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.commands;
|
package com.viaversion.fabric.mc1213.commands;
|
||||||
|
|
||||||
import com.mojang.brigadier.arguments.StringArgumentType;
|
import com.mojang.brigadier.arguments.StringArgumentType;
|
||||||
import com.mojang.brigadier.context.CommandContext;
|
import com.mojang.brigadier.context.CommandContext;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.gui;
|
package com.viaversion.fabric.mc1213.gui;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableMap;
|
import com.google.common.collect.ImmutableMap;
|
||||||
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
@ -15,11 +15,11 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.gui;
|
package com.viaversion.fabric.mc1213.gui;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
||||||
import com.viaversion.fabric.common.util.ProtocolUtils;
|
import com.viaversion.fabric.common.util.ProtocolUtils;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
import net.fabricmc.api.EnvType;
|
import net.fabricmc.api.EnvType;
|
||||||
import net.fabricmc.api.Environment;
|
import net.fabricmc.api.Environment;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.address.client;
|
package com.viaversion.fabric.mc1213.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import net.minecraft.client.network.Address;
|
import net.minecraft.client.network.Address;
|
@ -15,9 +15,9 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.debug;
|
package com.viaversion.fabric.mc1213.mixin.debug;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager;
|
import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.server.network.ServerConfigurationNetworkHandler;
|
import net.minecraft.server.network.ServerConfigurationNetworkHandler;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.debug.client;
|
package com.viaversion.fabric.mc1213.mixin.debug.client;
|
||||||
|
|
||||||
import io.netty.channel.ChannelHandlerContext;
|
import io.netty.channel.ChannelHandlerContext;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.debug.client;
|
package com.viaversion.fabric.mc1213.mixin.debug.client;
|
||||||
|
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.debug.client;
|
package com.viaversion.fabric.mc1213.mixin.debug.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.CommonTransformer;
|
import com.viaversion.fabric.common.handler.CommonTransformer;
|
||||||
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
@ -15,9 +15,9 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.debug.client;
|
package com.viaversion.fabric.mc1213.mixin.debug.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import it.unimi.dsi.fastutil.objects.Object2IntMap;
|
import it.unimi.dsi.fastutil.objects.Object2IntMap;
|
||||||
import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager;
|
import net.fabricmc.fabric.impl.registry.sync.RegistrySyncManager;
|
||||||
import net.minecraft.util.Identifier;
|
import net.minecraft.util.Identifier;
|
@ -15,11 +15,11 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.gui.client;
|
package com.viaversion.fabric.mc1213.mixin.gui.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
||||||
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
||||||
import com.viaversion.fabric.mc1212.mixin.debug.client.MixinClientConnectionAccessor;
|
import com.viaversion.fabric.mc1213.mixin.debug.client.MixinClientConnectionAccessor;
|
||||||
import net.minecraft.client.network.ServerInfo;
|
import net.minecraft.client.network.ServerInfo;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
||||||
import net.minecraft.network.listener.ClientQueryPacketListener;
|
import net.minecraft.network.listener.ClientQueryPacketListener;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.gui.client;
|
package com.viaversion.fabric.mc1213.mixin.gui.client;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.gui.client;
|
package com.viaversion.fabric.mc1213.mixin.gui.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
import com.viaversion.fabric.common.gui.ViaServerInfo;
|
||||||
import net.minecraft.client.network.ServerInfo;
|
import net.minecraft.client.network.ServerInfo;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.pipeline;
|
package com.viaversion.fabric.mc1213.mixin.pipeline;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.CommonTransformer;
|
import com.viaversion.fabric.common.handler.CommonTransformer;
|
||||||
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
@ -15,12 +15,12 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.pipeline.client;
|
package com.viaversion.fabric.mc1213.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
|
import com.llamalad7.mixinextras.injector.wrapoperation.Operation;
|
||||||
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
|
import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.fabric.mc1212.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc1213.service.ProtocolAutoDetector;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.mixin.shutdown.server;
|
package com.viaversion.fabric.mc1213.mixin.shutdown.server;
|
||||||
|
|
||||||
import com.viaversion.viaversion.ViaManagerImpl;
|
import com.viaversion.viaversion.ViaManagerImpl;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.platform;
|
package com.viaversion.fabric.mc1213.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
||||||
import net.minecraft.SharedConstants;
|
import net.minecraft.SharedConstants;
|
@ -15,14 +15,14 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.platform;
|
package com.viaversion.fabric.mc1213.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.commands.UserCommandSender;
|
import com.viaversion.fabric.common.commands.UserCommandSender;
|
||||||
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
||||||
import com.viaversion.fabric.common.provider.AbstractFabricPlatform;
|
import com.viaversion.fabric.common.provider.AbstractFabricPlatform;
|
||||||
import com.viaversion.fabric.common.util.FutureTaskId;
|
import com.viaversion.fabric.common.util.FutureTaskId;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.fabric.mc1212.commands.NMSCommandSender;
|
import com.viaversion.fabric.mc1213.commands.NMSCommandSender;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
||||||
import com.viaversion.viaversion.api.command.ViaCommandSender;
|
import com.viaversion.viaversion.api.command.ViaCommandSender;
|
||||||
import io.netty.channel.EventLoop;
|
import io.netty.channel.EventLoop;
|
@ -15,12 +15,12 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.platform;
|
package com.viaversion.fabric.mc1213.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc1212.providers.FabricVersionProvider;
|
import com.viaversion.fabric.mc1213.providers.FabricVersionProvider;
|
||||||
import com.viaversion.fabric.mc1212.providers.VFHandItemProvider;
|
import com.viaversion.fabric.mc1213.providers.VFHandItemProvider;
|
||||||
import com.viaversion.fabric.mc1212.providers.VFPlayerAbilitiesProvider;
|
import com.viaversion.fabric.mc1213.providers.VFPlayerAbilitiesProvider;
|
||||||
import com.viaversion.fabric.mc1212.providers.VFPlayerLookTargetProvider;
|
import com.viaversion.fabric.mc1213.providers.VFPlayerLookTargetProvider;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
||||||
import com.viaversion.viaversion.api.platform.ViaPlatformLoader;
|
import com.viaversion.viaversion.api.platform.ViaPlatformLoader;
|
||||||
import com.viaversion.viaversion.api.protocol.version.VersionProvider;
|
import com.viaversion.viaversion.api.protocol.version.VersionProvider;
|
@ -15,12 +15,12 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.providers;
|
package com.viaversion.fabric.mc1213.providers;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.config.VFConfig;
|
import com.viaversion.fabric.common.config.VFConfig;
|
||||||
import com.viaversion.fabric.common.provider.AbstractFabricVersionProvider;
|
import com.viaversion.fabric.common.provider.AbstractFabricVersionProvider;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.fabric.mc1212.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc1213.service.ProtocolAutoDetector;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
import io.netty.channel.ChannelPipeline;
|
import io.netty.channel.ChannelPipeline;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
@ -15,10 +15,10 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.providers;
|
package com.viaversion.fabric.mc1213.providers;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.util.RemappingUtil;
|
import com.viaversion.fabric.common.util.RemappingUtil;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||||
import com.viaversion.viaversion.api.minecraft.item.DataItem;
|
import com.viaversion.viaversion.api.minecraft.item.DataItem;
|
||||||
import com.viaversion.viaversion.api.minecraft.item.Item;
|
import com.viaversion.viaversion.api.minecraft.item.Item;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.providers;
|
package com.viaversion.fabric.mc1213.providers;
|
||||||
|
|
||||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||||
import com.viaversion.viaversion.protocols.v1_15_2to1_16.provider.PlayerAbilitiesProvider;
|
import com.viaversion.viaversion.protocols.v1_15_2to1_16.provider.PlayerAbilitiesProvider;
|
@ -15,7 +15,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.providers;
|
package com.viaversion.fabric.mc1213.providers;
|
||||||
|
|
||||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||||
import com.viaversion.viaversion.api.minecraft.BlockPosition;
|
import com.viaversion.viaversion.api.minecraft.BlockPosition;
|
@ -15,13 +15,13 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package com.viaversion.fabric.mc1212.service;
|
package com.viaversion.fabric.mc1213.service;
|
||||||
|
|
||||||
import com.google.common.cache.CacheBuilder;
|
import com.google.common.cache.CacheBuilder;
|
||||||
import com.google.common.cache.CacheLoader;
|
import com.google.common.cache.CacheLoader;
|
||||||
import com.google.common.cache.LoadingCache;
|
import com.google.common.cache.LoadingCache;
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import com.viaversion.fabric.mc1212.ViaFabric;
|
import com.viaversion.fabric.mc1213.ViaFabric;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
import io.netty.bootstrap.Bootstrap;
|
import io.netty.bootstrap.Bootstrap;
|
||||||
import io.netty.channel.*;
|
import io.netty.channel.*;
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "viafabric-mc1212",
|
"id": "viafabric-mc1213",
|
||||||
"name": "ViaFabric for 1.21.2",
|
"name": "ViaFabric for 1.21.3",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"description": "${description}",
|
"description": "${description}",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
@ -47,13 +47,13 @@
|
|||||||
],
|
],
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"com.viaversion.fabric.mc1212.ViaFabric"
|
"com.viaversion.fabric.mc1213.ViaFabric"
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
||||||
"com.viaversion.fabric.mc1212.ViaFabricClient"
|
"com.viaversion.fabric.mc1213.ViaFabricClient"
|
||||||
],
|
],
|
||||||
"modmenu": [
|
"modmenu": [
|
||||||
"com.viaversion.fabric.mc1212.gui.ModMenuConfig"
|
"com.viaversion.fabric.mc1213.gui.ModMenuConfig"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"depends": {
|
"depends": {
|
||||||
@ -68,11 +68,11 @@
|
|||||||
"replaymod": "<=1.21-2.6.15"
|
"replaymod": "<=1.21-2.6.15"
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"mixins.viafabric1212.address.json",
|
"mixins.viafabric1213.address.json",
|
||||||
"mixins.viafabric1212.gui.json",
|
"mixins.viafabric1213.gui.json",
|
||||||
"mixins.viafabric1212.debug.json",
|
"mixins.viafabric1213.debug.json",
|
||||||
"mixins.viafabric1212.pipeline.json",
|
"mixins.viafabric1213.pipeline.json",
|
||||||
"mixins.viafabric1212.shutdown.json"
|
"mixins.viafabric1213.shutdown.json"
|
||||||
],
|
],
|
||||||
"custom": {
|
"custom": {
|
||||||
"modmenu": {
|
"modmenu": {
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_21",
|
||||||
"package": "com.viaversion.fabric.mc1212.mixin.address",
|
"package": "com.viaversion.fabric.mc1213.mixin.address",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_21",
|
||||||
"package": "com.viaversion.fabric.mc1212.mixin.debug",
|
"package": "com.viaversion.fabric.mc1213.mixin.debug",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"MixinRegistrySyncManager"
|
"MixinRegistrySyncManager"
|
||||||
],
|
],
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_21",
|
||||||
"package": "com.viaversion.fabric.mc1212.mixin.gui",
|
"package": "com.viaversion.fabric.mc1213.mixin.gui",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_21",
|
||||||
"package": "com.viaversion.fabric.mc1212.mixin.pipeline",
|
"package": "com.viaversion.fabric.mc1213.mixin.pipeline",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"MixinClientConnection"
|
"MixinClientConnection"
|
||||||
],
|
],
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_21",
|
||||||
"package": "com.viaversion.fabric.mc1212.mixin.shutdown",
|
"package": "com.viaversion.fabric.mc1213.mixin.shutdown",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"server": [
|
"server": [
|
Loading…
Reference in New Issue
Block a user