Class EntitiesDestroyS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntitiesDestroyS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class EntitiesDestroyS2CPacket extends Object implements Packet<ClientPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description private int[]entityIds -
Constructor Summary
Constructors Constructor Description EntitiesDestroyS2CPacket()EntitiesDestroyS2CPacket(int[] entityIds) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)int[]getEntityIds()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
entityIds
private int[] entityIds
-
-
Constructor Details
-
EntitiesDestroyS2CPacket
public EntitiesDestroyS2CPacket() -
EntitiesDestroyS2CPacket
public EntitiesDestroyS2CPacket(int[] entityIds)
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>
-
getEntityIds
@Environment(CLIENT) public int[] getEntityIds()
-