接口 ServerGamePacketListener
- 所有超级接口:
PacketListener
,ServerboundPacketListener
,ServerCommonPacketListener
,ServerCookiePacketListener
,ServerPacketListener
,ServerPingPacketListener
- 所有已知实现类:
ServerGamePacketListenerImpl
public interface ServerGamePacketListener
extends ServerPingPacketListener, ServerCommonPacketListener
-
字段概要
从接口继承的字段 net.minecraft.network.protocol.game.ServerPacketListener
LOGGER
-
方法概要
修饰符和类型方法说明void
void
void
handleAnimate
(ServerboundSwingPacket p_133781_) void
void
void
void
handleChat
(ServerboundChatPacket p_133743_) void
handleChatAck
(ServerboundChatAckPacket p_242214_) void
handleChatCommand
(ServerboundChatCommandPacket p_237920_) void
void
void
void
void
void
void
void
void
void
void
void
handleEditBook
(ServerboundEditBookPacket p_133752_) void
void
handleInteract
(ServerboundInteractPacket p_133754_) void
void
void
handleMovePlayer
(ServerboundMovePlayerPacket p_133758_) void
handleMoveVehicle
(ServerboundMoveVehiclePacket p_133759_) void
handlePaddleBoat
(ServerboundPaddleBoatPacket p_133760_) void
void
void
handlePlaceRecipe
(ServerboundPlaceRecipePacket p_133762_) void
void
handlePlayerAction
(ServerboundPlayerActionPacket p_133764_) void
void
handlePlayerInput
(ServerboundPlayerInputPacket p_133766_) void
void
void
handleRenameItem
(ServerboundRenameItemPacket p_133769_) void
void
handleSelectTrade
(ServerboundSelectTradePacket p_133772_) void
handleSetBeaconPacket
(ServerboundSetBeaconPacket p_133773_) void
void
void
void
void
void
void
void
handleSignUpdate
(ServerboundSignUpdatePacket p_133780_) void
void
handleUseItem
(ServerboundUseItemPacket p_133784_) void
handleUseItemOn
(ServerboundUseItemOnPacket p_133783_) default ConnectionProtocol
protocol()
从接口继承的方法 net.minecraft.network.PacketListener
createDisconnectionInfo, fillCrashReport, fillListenerSpecificCrashDetails, isAcceptingMessages, onDisconnect, shouldHandleMessage
从接口继承的方法 net.minecraft.network.ServerboundPacketListener
flow
从接口继承的方法 net.minecraft.network.protocol.common.ServerCommonPacketListener
handleClientInformation, handleCustomPayload, handleKeepAlive, handlePong, handleResourcePackResponse
从接口继承的方法 net.minecraft.network.protocol.cookie.ServerCookiePacketListener
handleCookieResponse
从接口继承的方法 net.minecraft.network.protocol.game.ServerPacketListener
onPacketError
从接口继承的方法 net.minecraft.network.protocol.ping.ServerPingPacketListener
handlePingRequest
-
方法详细资料
-
protocol
- 指定者:
protocol
在接口中PacketListener
-
handleAnimate
-
handleChat
-
handleChatCommand
-
handleSignedChatCommand
-
handleChatAck
-
handleClientCommand
-
handleContainerButtonClick
-
handleContainerClick
-
handlePlaceRecipe
-
handleContainerClose
-
handleInteract
-
handleMovePlayer
-
handlePlayerAbilities
-
handlePlayerAction
-
handlePlayerCommand
-
handlePlayerInput
-
handleSetCarriedItem
-
handleSetCreativeModeSlot
-
handleSignUpdate
-
handleUseItemOn
-
handleUseItem
-
handleTeleportToEntityPacket
-
handlePaddleBoat
-
handleMoveVehicle
-
handleAcceptTeleportPacket
-
handleAcceptPlayerLoad
-
handleRecipeBookSeenRecipePacket
-
handleBundleItemSelectedPacket
-
handleRecipeBookChangeSettingsPacket
-
handleSeenAdvancements
-
handleCustomCommandSuggestions
-
handleSetCommandBlock
-
handleSetCommandMinecart
-
handlePickItemFromBlock
-
handlePickItemFromEntity
-
handleRenameItem
-
handleSetBeaconPacket
-
handleSetStructureBlock
-
handleSelectTrade
-
handleEditBook
-
handleEntityTagQuery
-
handleContainerSlotStateChanged
-
handleBlockEntityTagQuery
-
handleSetJigsawBlock
-
handleJigsawGenerate
-
handleChangeDifficulty
-
handleLockDifficulty
-
handleChatSessionUpdate
-
handleConfigurationAcknowledged
-
handleChunkBatchReceived
-
handleDebugSampleSubscription
-
handleClientTickEnd
-