Class ServerGamePacketListenerImplMixin

java.lang.Object
com.petrolpark.mixin.ServerGamePacketListenerImplMixin
All Implemented Interfaces:
net.minecraft.network.PacketListener, net.minecraft.network.protocol.common.ServerCommonPacketListener, net.minecraft.network.protocol.cookie.ServerCookiePacketListener, net.minecraft.network.protocol.game.ServerGamePacketListener, net.minecraft.network.protocol.game.ServerPacketListener, net.minecraft.network.protocol.ping.ServerPingPacketListener, net.minecraft.network.ServerboundPacketListener, net.neoforged.neoforge.common.extensions.ICommonPacketListener, net.neoforged.neoforge.common.extensions.IServerCommonPacketListenerExtension, net.neoforged.neoforge.common.extensions.IServerGamePacketListenerExtension

public abstract class ServerGamePacketListenerImplMixin extends Object implements net.minecraft.network.protocol.game.ServerGamePacketListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.server.level.ServerPlayer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    inHandleSetCarriedItem(net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket packet, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    inHandleSetCreativeModeSlot(net.minecraft.network.protocol.game.ServerboundSetCreativeModeSlotPacket packet, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, boolean flag, net.minecraft.world.item.ItemStack itemstack, net.minecraft.world.item.component.CustomData customData)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.common.extensions.ICommonPacketListener

    disconnect, getConnection, getConnectionType, getMainThreadEventLoop, hasChannel, hasChannel, hasChannel, send

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IServerCommonPacketListenerExtension

    send, send, send

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IServerGamePacketListenerExtension

    sendBundled, sendBundled

    Methods inherited from interface net.minecraft.network.PacketListener

    createDisconnectionInfo, fillCrashReport, fillListenerSpecificCrashDetails, isAcceptingMessages, onDisconnect, shouldHandleMessage

    Methods inherited from interface net.minecraft.network.ServerboundPacketListener

    flow

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

    handleClientInformation, handleCustomPayload, handleKeepAlive, handlePong, handleResourcePackResponse

    Methods inherited from interface net.minecraft.network.protocol.cookie.ServerCookiePacketListener

    handleCookieResponse

    Methods inherited from interface net.minecraft.network.protocol.game.ServerGamePacketListener

    handleAcceptTeleportPacket, handleAnimate, handleBlockEntityTagQuery, handleChangeDifficulty, handleChat, handleChatAck, handleChatCommand, handleChatSessionUpdate, handleChunkBatchReceived, handleClientCommand, handleConfigurationAcknowledged, handleContainerButtonClick, handleContainerClick, handleContainerClose, handleContainerSlotStateChanged, handleCustomCommandSuggestions, handleDebugSampleSubscription, handleEditBook, handleEntityTagQuery, handleInteract, handleJigsawGenerate, handleLockDifficulty, handleMovePlayer, handleMoveVehicle, handlePaddleBoat, handlePickItem, handlePlaceRecipe, handlePlayerAbilities, handlePlayerAction, handlePlayerCommand, handlePlayerInput, handleRecipeBookChangeSettingsPacket, handleRecipeBookSeenRecipePacket, handleRenameItem, handleSeenAdvancements, handleSelectTrade, handleSetBeaconPacket, handleSetCarriedItem, handleSetCommandBlock, handleSetCommandMinecart, handleSetCreativeModeSlot, handleSetJigsawBlock, handleSetStructureBlock, handleSignedChatCommand, handleSignUpdate, handleTeleportToEntityPacket, handleUseItem, handleUseItemOn, protocol

    Methods inherited from interface net.minecraft.network.protocol.game.ServerPacketListener

    onPacketError

    Methods inherited from interface net.minecraft.network.protocol.ping.ServerPingPacketListener

    handlePingRequest
  • Field Details

    • player

      public net.minecraft.server.level.ServerPlayer player
  • Constructor Details

    • ServerGamePacketListenerImplMixin

      public ServerGamePacketListenerImplMixin()
  • Method Details

    • inHandleSetCarriedItem

      public void inHandleSetCarriedItem(net.minecraft.network.protocol.game.ServerboundSetCarriedItemPacket packet, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • inHandleSetCreativeModeSlot

      public void inHandleSetCreativeModeSlot(net.minecraft.network.protocol.game.ServerboundSetCreativeModeSlotPacket packet, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, boolean flag, net.minecraft.world.item.ItemStack itemstack, net.minecraft.world.item.component.CustomData customData)