implements Packet<ClientPlayPacketListener>
| net.minecraft.network.protocol.game.ClientboundDamageEventPacket | |
| net.minecraft.class_8143 | |
| net.minecraft.network.packet.s2c.play.EntityDamageS2CPacket |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final int |
|
||||||
| private final RegistryEntry<DamageType> |
|
||||||
| private final int |
|
||||||
| private final int |
|
||||||
| private final Optional<Vec3d> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, EntityDamageS2CPacket> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Entity entity, DamageSource damageSource) |
| private | (RegistryByteBuf buf) |
| public | (int entityId, RegistryEntry<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3d> sourcePosition) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| private static void |
|
||||||
| private static int |
|
||||||
| private void |
|
||||||
| public PacketType<EntityDamageS2CPacket> |
|
||||||
| public void |
|
||||||
| public DamageSource |
|
||||||
| public int |
|
||||||
| public RegistryEntry<DamageType> |
|
||||||
| public int |
|
||||||
| public int |
|
||||||
| public Optional<Vec3d> |
|
||||||
| public void |
|
||||||
| private static void |
|
||||||
| private static Vec3d |
|