Class NetworkHandler

java.lang.Object
org.samo_lego.fabrictailor.network.NetworkHandler

public class NetworkHandler extends Object
  • Constructor Details

    • NetworkHandler

      public NetworkHandler()
  • Method Details

    • onInit

      public static void onInit(net.minecraft.server.network.ServerGamePacketListenerImpl listener, net.minecraft.server.MinecraftServer _server)
    • changeVanillaSkinPacket

      public static void changeVanillaSkinPacket(VanillaSkinPayload payload, net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context context)
    • defaultSkinPacket

      public static void defaultSkinPacket(DefaultSkinPayload payload, net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context context)
    • changeHDSkinPacket

      public static void changeHDSkinPacket(HDSkinPayload payload, net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context context)
    • onSkinChangePacket

      public static void onSkinChangePacket(net.minecraft.server.level.ServerPlayer player, com.mojang.authlib.properties.Property skin, Runnable callback)
    • onConfigured

      public static void onConfigured(net.minecraft.server.network.ServerConfigurationPacketListenerImpl listener, net.minecraft.server.MinecraftServer server)