implements Packet<ClientGamePacketListener>
| aea | |
| 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 Holder<DamageType> |
| ||||||||
| private final int |
| ||||||||
| private final int |
| ||||||||
| private final Optional<Vec3> |
| ||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Entity entity, DamageSource damageSource) |
| private | (RegistryFriendlyByteBuf buf) |
| public | (int entityId, Holder<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private static void |
| ||||||||
| private static int |
| ||||||||
| private void |
| ||||||||
| public PacketType<ClientboundDamageEventPacket> |
| ||||||||
| public void |
| ||||||||
| public DamageSource |
| ||||||||
| public int |
| ||||||||
| public Holder<DamageType> |
| ||||||||
| public int |
| ||||||||
| public int |
| ||||||||
| public Optional<Vec3> |
|