net.minecraft.network.protocol.game

public class ServerboundInteractPacket

implements Packet<ServerGamePacketListener>

ahd
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.packet.c2s.play.PlayerInteractionWithEntityC2SPacket
net.minecraft.src.C_5161_
net.minecraft.network.protocol.game.PacketPlayInUseEntity

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundInteractPacket>
a
STREAM_CODEC
field_48195
f_hjamhwtr
CODEC
CODEC
f_316172_
private final int
b
entityId
field_12870
f_bzplmgod
entityId
entityId
f_134030_
private final ServerboundInteractPacket$Action
c
action
field_12871
f_oibdkymo
type
type
f_134031_
private final boolean
d
usingSecondaryAction
field_25660
f_dnticdcm
playerSneaking
playerSneaking
f_134034_
static final ServerboundInteractPacket$Action
e
ATTACK_ACTION
field_29170
f_hzgqrpyi
ATTACK
ATTACK
f_179595_

Constructor summary

ModifierConstructor
private (int entityId, boolean playerSneaking, ServerboundInteractPacket$Action type)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public static ServerboundInteractPacket
a(bsr arg0, boolean arg1)
createAttackPacket(Entity arg0, boolean arg1)
method_34206(class_1297 arg0, boolean arg1)
m_jfexzbau(C_astfners arg0, boolean arg1)
attack(Entity entity, boolean playerSneaking)
attack(Entity entity, boolean playerSneaking)
m_179605_(C_507_ p_179606_, boolean p_179607_)
public static ServerboundInteractPacket
a(bsr arg0, boolean arg1, bqq arg2)
createInteractionPacket(Entity arg0, boolean arg1, InteractionHand arg2)
method_34207(class_1297 arg0, boolean arg1, class_1268 arg2)
m_jrffkznc(C_astfners arg0, boolean arg1, C_laxmzoqs arg2)
interact(Entity entity, boolean playerSneaking, Hand hand)
interact(Entity entity, boolean playerSneaking, Hand hand)
m_179608_(C_507_ p_179609_, boolean p_179610_, C_470_ p_179611_)
public static ServerboundInteractPacket
a(bsr arg0, boolean arg1, bqq arg2, exc arg3)
createInteractionPacket(Entity arg0, boolean arg1, InteractionHand arg2, Vec3 arg3)
method_34208(class_1297 arg0, boolean arg1, class_1268 arg2, class_243 arg3)
m_iyoztsox(C_astfners arg0, boolean arg1, C_laxmzoqs arg2, C_vgpupfxx arg3)
interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)
interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)
m_179612_(C_507_ p_179613_, boolean p_179614_, C_470_ p_179615_, C_3046_ p_179616_)
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55976(class_2540 arg0)
m_iwbauosu(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_134057_(C_4983_ arg0)
public PacketType<ServerboundInteractPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12251(class_2792 arg0)
m_fwfdhwpj(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Entity
a(aqu arg0)
getTarget(ServerLevel arg0)
method_12248(class_3218 arg0)
m_nxzomlem(C_bdwnwhiu arg0)
getEntity(ServerWorld world)
getEntity(ServerWorld world)
m_179603_(C_12_ arg0)
public boolean
b()
isUsingSecondaryAction()
method_30007()
m_srohaldt()
isPlayerSneaking()
isPlayerSneaking()
m_134061_()
public void
a(ahd$c arg0)
dispatch(ServerboundInteractPacket$Handler arg0)
method_34209(class_2824$class_5908 arg0)
m_buazrjfv(C_ckudzhjz$C_hnsvyeyq arg0)
handle(PlayerInteractEntityC2SPacket$Handler handler)
handle(PlayerInteractionWithEntityC2SPacket$Handler handler)
m_179617_(C_5161_$C_141876_ arg0)