Uses of Class
net.minecraft.network.protocol.game.ServerboundInteractPacket
Packages that use ServerboundInteractPacket
Package
Description
-
Uses of ServerboundInteractPacket in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type ServerboundInteractPacketModifier and TypeFieldDescriptionstatic final PacketType
<ServerboundInteractPacket> GamePacketTypes.SERVERBOUND_INTERACT
static final StreamCodec
<FriendlyByteBuf, ServerboundInteractPacket> ServerboundInteractPacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.game that return ServerboundInteractPacketModifier and TypeMethodDescriptionstatic ServerboundInteractPacket
ServerboundInteractPacket.createAttackPacket
(Entity pEntity, boolean pUsingSecondaryAction) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity pEntity, boolean pUsingSecondaryAction, InteractionHand pHand) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity pEntity, boolean pUsingSecondaryAction, InteractionHand pHand, Vec3 pInteractionLocation) Methods in net.minecraft.network.protocol.game that return types with arguments of type ServerboundInteractPacketMethods in net.minecraft.network.protocol.game with parameters of type ServerboundInteractPacketModifier and TypeMethodDescriptionvoid
ServerGamePacketListener.handleInteract
(ServerboundInteractPacket pPacket) Processes left and right clicks on entities -
Uses of ServerboundInteractPacket in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ServerboundInteractPacketModifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.handleInteract
(ServerboundInteractPacket pPacket) Processes left and right clicks on entities -
Uses of ServerboundInteractPacket in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type ServerboundInteractPacketModifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.handleInteract
(ServerboundInteractPacket packet)