net.minecraft.network.protocol.game

public class ServerboundInteractPacket

implements Packet<ServerGamePacketListener>

ro
net.minecraft.network.protocol.game.ServerboundInteractPacket
net.minecraft.class_2824
net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket
net.minecraft.network.play.client.CUseEntityPacket
net.minecraft.server.v1_16_R1.PacketPlayInUseEntity

Field summary

Modifier and TypeField
private int
a
entityId
field_12870
entityId
field_149567_a
private ServerboundInteractPacket$Action
b
action
field_12871
type
field_149566_b
action
private Vec3
c
location
field_12872
hitPos
field_179713_c
private InteractionHand
d
hand
field_12869
hand
field_186995_d
private boolean
e
usingSecondaryAction
field_25660
playerSneaking
field_241791_e_

Constructor summary

ModifierConstructor
public ()
public (Entity target, boolean playerSneaking)
public (Entity entity, InteractionHand hand, boolean playerSneaking)
public (Entity entity, InteractionHand hand, Vec3 hitPos, boolean playerSneaking)

Method summary

Modifier and TypeMethod
public void
a(mg arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(mg arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(qz arg0)
handle(ServerGamePacketListener arg0)
method_12251(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
func_148833_a(IServerPlayNetHandler arg0)
public Entity
a(bqb arg0)
getTarget(Level arg0)
method_12248(class_1937 arg0)
getEntity(World world)
func_149564_a(World arg0)
public ServerboundInteractPacket$Action
b()
getAction()
method_12252()
getType()
func_149565_c()
public InteractionHand
c()
getHand()
method_12249()
getHand()
func_186994_b()
public Vec3
d()
getLocation()
method_12250()
getHitPosition()
func_179712_b()
public boolean
e()
isUsingSecondaryAction()
method_30007()
isPlayerSneaking()
func_241792_e_()