mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-23 16:37:44 +01:00
Repackage legacy fabric platforms
This commit is contained in:
parent
2aced1f5f5
commit
5651643360
@ -15,18 +15,17 @@
|
|||||||
* 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.mc18;
|
package com.viaversion.fabric.mc1122;
|
||||||
|
|
||||||
import com.google.common.collect.Range;
|
|
||||||
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
||||||
import com.viaversion.fabric.common.config.VFConfig;
|
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.mc18.commands.NMSCommandImpl;
|
import com.viaversion.fabric.mc1122.commands.NMSCommandImpl;
|
||||||
import com.viaversion.fabric.mc18.commands.VFCommandHandler;
|
import com.viaversion.fabric.mc1122.commands.VFCommandHandler;
|
||||||
import com.viaversion.fabric.mc18.platform.FabricPlatform;
|
import com.viaversion.fabric.mc1122.platform.FabricPlatform;
|
||||||
import com.viaversion.fabric.mc18.platform.VFLoader;
|
import com.viaversion.fabric.mc1122.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,10 +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.mc112.commands;
|
package com.viaversion.fabric.mc1122.commands;
|
||||||
|
|
||||||
import net.minecraft.command.AbstractCommand;
|
import net.minecraft.command.AbstractCommand;
|
||||||
import net.minecraft.command.CommandException;
|
|
||||||
import net.minecraft.command.CommandSource;
|
import net.minecraft.command.CommandSource;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
@ -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.mc112.commands;
|
package com.viaversion.fabric.mc1122.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.mc112.commands;
|
package com.viaversion.fabric.mc1122.commands;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.commands.subs.LeakDetectSubCommand;
|
import com.viaversion.fabric.common.commands.subs.LeakDetectSubCommand;
|
||||||
import com.viaversion.viaversion.commands.ViaCommandHandler;
|
import com.viaversion.viaversion.commands.ViaCommandHandler;
|
@ -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.mc18.gui;
|
package com.viaversion.fabric.mc1122.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.PagedEntryListWidget;
|
import net.minecraft.client.gui.widget.PagedEntryListWidget;
|
||||||
|
|
@ -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.mc18.gui;
|
package com.viaversion.fabric.mc1122.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||||
|
|
@ -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.mc112.gui;
|
package com.viaversion.fabric.mc1122.gui;
|
||||||
|
|
||||||
import com.mojang.blaze3d.platform.GlStateManager;
|
import com.mojang.blaze3d.platform.GlStateManager;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
@ -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.mc112.gui;
|
package com.viaversion.fabric.mc1122.gui;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
||||||
import com.viaversion.fabric.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.common.util.ProtocolUtils;
|
import com.viaversion.fabric.common.util.ProtocolUtils;
|
||||||
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;
|
@ -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.mc112.mixin.address.client;
|
package com.viaversion.fabric.mc1122.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
@ -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.mc18.mixin.address.client;
|
package com.viaversion.fabric.mc1122.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import net.minecraft.network.ServerAddress;
|
import net.minecraft.network.ServerAddress;
|
@ -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.mc112.mixin.address.client;
|
package com.viaversion.fabric.mc1122.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import net.minecraft.client.network.MultiplayerServerListPinger;
|
import net.minecraft.client.network.MultiplayerServerListPinger;
|
@ -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.mc112.mixin.debug.client;
|
package com.viaversion.fabric.mc1122.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.mc112.mixin.debug.client;
|
package com.viaversion.fabric.mc1122.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.mc18.mixin.debug.client;
|
package com.viaversion.fabric.mc1122.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,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.mc112.mixin.gui.client;
|
package com.viaversion.fabric.mc1122.mixin.gui.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.mc112.gui.ViaButton;
|
import com.viaversion.fabric.mc1122.gui.ViaButton;
|
||||||
import com.viaversion.fabric.mc112.gui.ViaConfigScreen;
|
import com.viaversion.fabric.mc1122.gui.ViaConfigScreen;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
import net.minecraft.client.gui.screen.Screen;
|
||||||
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
|
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
|
@ -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.mc18.mixin.pipeline;
|
package com.viaversion.fabric.mc1122.mixin.pipeline;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
@ -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.mc112.mixin.pipeline;
|
package com.viaversion.fabric.mc1122.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,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.mc18.mixin.pipeline.client;
|
package com.viaversion.fabric.mc1122.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc18.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.mc18.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc1122.service.ProtocolAutoDetector;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
||||||
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.mc18.mixin.pipeline.client;
|
package com.viaversion.fabric.mc1122.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
||||||
import com.viaversion.fabric.common.handler.FabricEncodeHandler;
|
import com.viaversion.fabric.common.handler.FabricEncodeHandler;
|
@ -1,6 +1,6 @@
|
|||||||
package com.viaversion.fabric.mc112.mixin.pipeline.client;
|
package com.viaversion.fabric.mc1122.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc1122.service.ProtocolAutoDetector;
|
||||||
import net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket;
|
import net.minecraft.network.packet.c2s.handshake.HandshakeC2SPacket;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
@ -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.mc112.platform;
|
package com.viaversion.fabric.mc1122.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
@ -24,7 +24,6 @@ import net.fabricmc.api.Environment;
|
|||||||
import net.fabricmc.loader.api.FabricLoader;
|
import net.fabricmc.loader.api.FabricLoader;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
import net.minecraft.realms.RealmsSharedConstants;
|
import net.minecraft.realms.RealmsSharedConstants;
|
||||||
import net.minecraft.server.MinecraftServer;
|
|
||||||
import net.minecraft.server.ServerMetadata;
|
import net.minecraft.server.ServerMetadata;
|
||||||
|
|
||||||
public class FabricNativeVersionProvider implements NativeVersionProvider {
|
public class FabricNativeVersionProvider implements NativeVersionProvider {
|
@ -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.mc112.platform;
|
package com.viaversion.fabric.mc1122.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.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.mc112.commands.NMSCommandSender;
|
import com.viaversion.fabric.mc1122.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 com.viaversion.viaversion.util.ComponentUtil;
|
import com.viaversion.viaversion.util.ComponentUtil;
|
@ -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.mc18.platform;
|
package com.viaversion.fabric.mc1122.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc18.providers.VFHandItemProvider;
|
import com.viaversion.fabric.mc1122.providers.VFHandItemProvider;
|
||||||
import com.viaversion.fabric.mc18.providers.FabricVersionProvider;
|
import com.viaversion.fabric.mc1122.providers.FabricVersionProvider;
|
||||||
import net.fabricmc.api.EnvType;
|
import net.fabricmc.api.EnvType;
|
||||||
import net.fabricmc.loader.api.FabricLoader;
|
import net.fabricmc.loader.api.FabricLoader;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
@ -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.mc112.providers;
|
package com.viaversion.fabric.mc1122.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.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.mc112.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc1122.service.ProtocolAutoDetector;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
@ -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.mc112.providers;
|
package com.viaversion.fabric.mc1122.providers;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.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,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.mc112.service;
|
package com.viaversion.fabric.mc1122.service;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.ViaFabric;
|
import com.viaversion.fabric.mc1122.ViaFabric;
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import com.google.common.cache.CacheBuilder;
|
import com.google.common.cache.CacheBuilder;
|
||||||
import com.google.common.cache.CacheLoader;
|
import com.google.common.cache.CacheLoader;
|
@ -39,7 +39,7 @@
|
|||||||
],
|
],
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"com.viaversion.fabric.mc112.ViaFabric"
|
"com.viaversion.fabric.mc1122.ViaFabric"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"depends": {
|
"depends": {
|
||||||
@ -51,9 +51,9 @@
|
|||||||
"legacy-fabric-command-api-v1": "*"
|
"legacy-fabric-command-api-v1": "*"
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"mixins.viafabric112.address.json",
|
"mixins.viafabric1122.address.json",
|
||||||
"mixins.viafabric112.gui.json",
|
"mixins.viafabric1122.gui.json",
|
||||||
"mixins.viafabric112.debug.json",
|
"mixins.viafabric1122.debug.json",
|
||||||
"mixins.viafabric112.pipeline.json"
|
"mixins.viafabric1122.pipeline.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc18.mixin.address",
|
"package": "com.viaversion.fabric.mc1122.mixin.address",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc112.mixin.debug",
|
"package": "com.viaversion.fabric.mc1122.mixin.debug",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc112.mixin.gui",
|
"package": "com.viaversion.fabric.mc1122.mixin.gui",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc112.mixin.pipeline",
|
"package": "com.viaversion.fabric.mc1122.mixin.pipeline",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"MixinClientConnection",
|
"MixinClientConnection",
|
||||||
"MixinServerNetworkIoChInit"
|
"MixinServerNetworkIoChInit"
|
@ -15,18 +15,17 @@
|
|||||||
* 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.mc112;
|
package com.viaversion.fabric.mc189;
|
||||||
|
|
||||||
import com.google.common.collect.Range;
|
|
||||||
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
import com.google.common.util.concurrent.ThreadFactoryBuilder;
|
||||||
import com.viaversion.fabric.common.config.VFConfig;
|
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.mc112.commands.NMSCommandImpl;
|
import com.viaversion.fabric.mc189.commands.NMSCommandImpl;
|
||||||
import com.viaversion.fabric.mc112.commands.VFCommandHandler;
|
import com.viaversion.fabric.mc189.commands.VFCommandHandler;
|
||||||
import com.viaversion.fabric.mc112.platform.FabricPlatform;
|
import com.viaversion.fabric.mc189.platform.FabricPlatform;
|
||||||
import com.viaversion.fabric.mc112.platform.VFLoader;
|
import com.viaversion.fabric.mc189.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,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.mc18.commands;
|
package com.viaversion.fabric.mc189.commands;
|
||||||
|
|
||||||
import net.minecraft.command.AbstractCommand;
|
import net.minecraft.command.AbstractCommand;
|
||||||
import net.minecraft.command.CommandSource;
|
import net.minecraft.command.CommandSource;
|
@ -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.mc18.commands;
|
package com.viaversion.fabric.mc189.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.mc18.commands;
|
package com.viaversion.fabric.mc189.commands;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.commands.subs.LeakDetectSubCommand;
|
import com.viaversion.fabric.common.commands.subs.LeakDetectSubCommand;
|
||||||
import com.viaversion.viaversion.commands.ViaCommandHandler;
|
import com.viaversion.viaversion.commands.ViaCommandHandler;
|
@ -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.mc112.gui;
|
package com.viaversion.fabric.mc189.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.PagedEntryListWidget;
|
import net.minecraft.client.gui.widget.PagedEntryListWidget;
|
||||||
|
|
@ -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.mc112.gui;
|
package com.viaversion.fabric.mc189.gui;
|
||||||
|
|
||||||
import net.minecraft.client.gui.widget.ButtonWidget;
|
import net.minecraft.client.gui.widget.ButtonWidget;
|
||||||
|
|
@ -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.mc18.gui;
|
package com.viaversion.fabric.mc189.gui;
|
||||||
|
|
||||||
import io.github.prospector.modmenu.api.ModMenuApi;
|
import io.github.prospector.modmenu.api.ModMenuApi;
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
import net.minecraft.client.gui.screen.Screen;
|
@ -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.mc18.gui;
|
package com.viaversion.fabric.mc189.gui;
|
||||||
|
|
||||||
import com.mojang.blaze3d.platform.GlStateManager;
|
import com.mojang.blaze3d.platform.GlStateManager;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
@ -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.mc18.gui;
|
package com.viaversion.fabric.mc189.gui;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
import com.viaversion.fabric.common.config.AbstractViaConfigScreen;
|
||||||
import com.viaversion.fabric.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.common.util.ProtocolUtils;
|
import com.viaversion.fabric.common.util.ProtocolUtils;
|
||||||
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;
|
@ -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.mc18.mixin.address.client;
|
package com.viaversion.fabric.mc189.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
@ -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.mc112.mixin.address.client;
|
package com.viaversion.fabric.mc189.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import net.minecraft.network.ServerAddress;
|
import net.minecraft.network.ServerAddress;
|
@ -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.mc18.mixin.address.client;
|
package com.viaversion.fabric.mc189.mixin.address.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import net.minecraft.client.network.MultiplayerServerListPinger;
|
import net.minecraft.client.network.MultiplayerServerListPinger;
|
@ -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.mc18.mixin.debug.client;
|
package com.viaversion.fabric.mc189.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.mc18.mixin.debug.client;
|
package com.viaversion.fabric.mc189.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.mc112.mixin.debug.client;
|
package com.viaversion.fabric.mc189.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,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.mc18.mixin.gui.client;
|
package com.viaversion.fabric.mc189.mixin.gui.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.mc18.gui.ViaButton;
|
import com.viaversion.fabric.mc189.gui.ViaButton;
|
||||||
import com.viaversion.fabric.mc18.gui.ViaConfigScreen;
|
import com.viaversion.fabric.mc189.gui.ViaConfigScreen;
|
||||||
import net.minecraft.client.MinecraftClient;
|
import net.minecraft.client.MinecraftClient;
|
||||||
import net.minecraft.client.gui.screen.Screen;
|
import net.minecraft.client.gui.screen.Screen;
|
||||||
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
|
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
|
@ -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.mc112.mixin.pipeline;
|
package com.viaversion.fabric.mc189.mixin.pipeline;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
import com.viaversion.fabric.common.handler.PipelineReorderEvent;
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
@ -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.mc18.mixin.pipeline;
|
package com.viaversion.fabric.mc189.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,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.mc112.mixin.pipeline.client;
|
package com.viaversion.fabric.mc189.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.mc112.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc189.service.ProtocolAutoDetector;
|
||||||
import net.minecraft.network.ClientConnection;
|
import net.minecraft.network.ClientConnection;
|
||||||
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.mc112.mixin.pipeline.client;
|
package com.viaversion.fabric.mc189.mixin.pipeline.client;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
import com.viaversion.fabric.common.handler.FabricDecodeHandler;
|
||||||
import com.viaversion.fabric.common.handler.FabricEncodeHandler;
|
import com.viaversion.fabric.common.handler.FabricEncodeHandler;
|
@ -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.mc18.platform;
|
package com.viaversion.fabric.mc189.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
import com.viaversion.fabric.common.platform.NativeVersionProvider;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
@ -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.mc18.platform;
|
package com.viaversion.fabric.mc189.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.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.mc18.commands.NMSCommandSender;
|
import com.viaversion.fabric.mc189.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 com.viaversion.viaversion.util.ComponentUtil;
|
import com.viaversion.viaversion.util.ComponentUtil;
|
@ -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.mc112.platform;
|
package com.viaversion.fabric.mc189.platform;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc112.providers.VFHandItemProvider;
|
import com.viaversion.fabric.mc189.providers.VFHandItemProvider;
|
||||||
import com.viaversion.fabric.mc112.providers.FabricVersionProvider;
|
import com.viaversion.fabric.mc189.providers.FabricVersionProvider;
|
||||||
import net.fabricmc.api.EnvType;
|
import net.fabricmc.api.EnvType;
|
||||||
import net.fabricmc.loader.api.FabricLoader;
|
import net.fabricmc.loader.api.FabricLoader;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
@ -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.mc18.providers;
|
package com.viaversion.fabric.mc189.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.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.mc18.service.ProtocolAutoDetector;
|
import com.viaversion.fabric.mc189.service.ProtocolAutoDetector;
|
||||||
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
import java.net.InetSocketAddress;
|
@ -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.mc18.providers;
|
package com.viaversion.fabric.mc189.providers;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.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,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.mc18.service;
|
package com.viaversion.fabric.mc189.service;
|
||||||
|
|
||||||
import com.viaversion.fabric.mc18.ViaFabric;
|
import com.viaversion.fabric.mc189.ViaFabric;
|
||||||
import com.viaversion.fabric.common.AddressParser;
|
import com.viaversion.fabric.common.AddressParser;
|
||||||
import com.google.common.cache.CacheBuilder;
|
import com.google.common.cache.CacheBuilder;
|
||||||
import com.google.common.cache.CacheLoader;
|
import com.google.common.cache.CacheLoader;
|
@ -47,10 +47,10 @@
|
|||||||
],
|
],
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
"com.viaversion.fabric.mc18.ViaFabric"
|
"com.viaversion.fabric.mc189.ViaFabric"
|
||||||
],
|
],
|
||||||
"modmenu": [
|
"modmenu": [
|
||||||
"com.viaversion.fabric.mc18.gui.ModMenuConfig"
|
"com.viaversion.fabric.mc189.gui.ModMenuConfig"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"depends": {
|
"depends": {
|
||||||
@ -62,10 +62,10 @@
|
|||||||
"legacy-fabric-command-api-v1": "*"
|
"legacy-fabric-command-api-v1": "*"
|
||||||
},
|
},
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"mixins.viafabric18.address.json",
|
"mixins.viafabric189.address.json",
|
||||||
"mixins.viafabric18.gui.json",
|
"mixins.viafabric189.gui.json",
|
||||||
"mixins.viafabric18.debug.json",
|
"mixins.viafabric189.debug.json",
|
||||||
"mixins.viafabric18.pipeline.json"
|
"mixins.viafabric189.pipeline.json"
|
||||||
],
|
],
|
||||||
"custom": {
|
"custom": {
|
||||||
"modmenu": {
|
"modmenu": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc112.mixin.address",
|
"package": "com.viaversion.fabric.mc189.mixin.address",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc18.mixin.debug",
|
"package": "com.viaversion.fabric.mc189.mixin.debug",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc18.mixin.gui",
|
"package": "com.viaversion.fabric.mc189.mixin.gui",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"package": "com.viaversion.fabric.mc18.mixin.pipeline",
|
"package": "com.viaversion.fabric.mc189.mixin.pipeline",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"MixinClientConnection",
|
"MixinClientConnection",
|
||||||
"MixinServerNetworkIoChInit"
|
"MixinServerNetworkIoChInit"
|
Loading…
Reference in New Issue
Block a user