net.minecraft.network.protocol.game

public class ServerboundInteractPacket

implements Packet<ServerGamePacketListener>

oj
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_14_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

Constructor summary

ModifierConstructor
public ()
public (Entity arg0)
public (Entity arg0, InteractionHand arg1)
public (Entity arg0, InteractionHand arg1, Vec3 arg2)

Method summary

Modifier and TypeMethod
public void
a(je arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(je arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(nu arg0)
handle(ServerGamePacketListener arg0)
method_12251(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
func_148833_a(IServerPlayNetHandler arg0)
public Entity
a(bhr arg0)
getTarget(Level arg0)
method_12248(class_1937 arg0)
getEntity(World arg0)
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()