net.minecraft.network.protocol.game

public class ServerboundInteractPacket

implements Packet<ServerGamePacketListener>

ro
net.minecraft.network.protocol.game.ServerboundInteractPacket
net.minecraft.class_2824
net.minecraft.unmapped.C_ckudzhjz
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
f_bzplmgod
entityId
field_149567_a
private ServerboundInteractPacket$Action
b
action
field_12871
f_oibdkymo
type
field_149566_b
action
private Vec3
c
location
field_12872
f_qnyunlqx
hitPos
field_179713_c
private InteractionHand
d
hand
field_12869
f_fhcmffch
hand
field_186995_d
private boolean
e
usingSecondaryAction
field_25660
f_dnticdcm
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)
m_wyduuajl(C_idfydwco arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(mg arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
m_pwnpydub(C_idfydwco arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(qz arg0)
handle(ServerGamePacketListener arg0)
method_12251(class_2792 arg0)
m_fwfdhwpj(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
func_148833_a(IServerPlayNetHandler arg0)
public Entity
a(bqb arg0)
getTarget(Level arg0)
method_12248(class_1937 arg0)
m_nxzomlem(C_cdctfzbn arg0)
getEntity(World world)
func_149564_a(World arg0)
public ServerboundInteractPacket$Action
b()
getAction()
method_12252()
m_xsfbpqez()
getType()
func_149565_c()
public InteractionHand
c()
getHand()
method_12249()
m_pwkngjmn()
getHand()
func_186994_b()
public Vec3
d()
getLocation()
method_12250()
m_syjvkmfj()
getHitPosition()
func_179712_b()
public boolean
e()
isUsingSecondaryAction()
method_30007()
m_srohaldt()
isPlayerSneaking()
func_241792_e_()