Class CEntityActionPacket
java.lang.Object
net.minecraft.network.play.client.CEntityActionPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCEntityActionPacket(Entity p_i46869_1_, CEntityActionPacket.Action p_i46869_2_) CEntityActionPacket(Entity p_i46870_1_, CEntityActionPacket.Action p_i46870_2_, int p_i46870_3_) -
Method Summary
Modifier and TypeMethodDescriptionintgetData()voidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
id
private int id -
action
-
data
private int data
-
-
Constructor Details
-
CEntityActionPacket
public CEntityActionPacket() -
CEntityActionPacket
-
CEntityActionPacket
public CEntityActionPacket(Entity p_i46870_1_, CEntityActionPacket.Action p_i46870_2_, int p_i46870_3_)
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
getAction
-
getData
public int getData()
-