Class MixinClientPacketListener

java.lang.Object
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
com.viaversion.viafabricplus.injection.mixin.features.networking.packet_handling.MixinClientPacketListener
All Implemented Interfaces:
net.fabricmc.fabric.api.networking.v1.context.PacketContextProvider, net.minecraft.network.ClientboundPacketListener, net.minecraft.network.PacketListener, net.minecraft.network.protocol.common.ClientCommonPacketListener, net.minecraft.network.protocol.cookie.ClientCookiePacketListener

public abstract class MixinClientPacketListener extends net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl

    net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl.CommonDialogAccess
  • Field Summary

    Fields inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl

    connection, customReportDetails, isTransferring, minecraft, postDisconnectScreen, seenInsecureChatWarning, seenPlayers, serverBrand, serverCookies, serverData, telemetryManager
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MixinClientPacketListener(net.minecraft.client.Minecraft client, net.minecraft.network.Connection connection, net.minecraft.client.multiplayer.CommonListenerCookie connectionState)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract net.minecraft.network.Connection
     
    abstract void
    handleSetSimulationDistance(net.minecraft.network.protocol.game.ClientboundSetSimulationDistancePacket packet)
     

    Methods inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl

    clearDialog, createDialogAccess, createDisconnectionInfo, createDisconnectScreen, fillListenerSpecificCrashDetails, handleClearDialog, handleCustomPayload, handleCustomPayload, handleCustomReportDetails, handleDisconnect, handleKeepAlive, handlePing, handleRequestCookie, handleResourcePackPop, handleResourcePackPush, handleServerLinks, handleShowDialog, handleStoreCookie, handleTransfer, onDisconnect, onPacketError, send, sendDeferredPackets, serverBrand, serverLinks, shouldHandleMessage, showDialog, showDialog

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.network.ClientboundPacketListener

    flow

    Methods inherited from interface net.minecraft.network.protocol.common.ClientCommonPacketListener

    handleUpdateTags

    Methods inherited from interface net.fabricmc.fabric.api.networking.v1.context.PacketContextProvider

    getPacketContext

    Methods inherited from interface net.minecraft.network.PacketListener

    fillCrashReport, isAcceptingMessages, protocol
  • Constructor Details

    • MixinClientPacketListener

      protected MixinClientPacketListener(net.minecraft.client.Minecraft client, net.minecraft.network.Connection connection, net.minecraft.client.multiplayer.CommonListenerCookie connectionState)
  • Method Details

    • handleSetSimulationDistance

      public abstract void handleSetSimulationDistance(net.minecraft.network.protocol.game.ClientboundSetSimulationDistancePacket packet)
    • getConnection

      public abstract net.minecraft.network.Connection getConnection()