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 entity, boolean usingSecondaryAction) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity entity, boolean usingSecondaryAction, InteractionHand hand) static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket
(Entity entity, boolean usingSecondaryAction, InteractionHand hand, Vec3 interactionLocation) 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 packet) 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 packet) 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)