implements Packet<ClientGamePacketListener>
adi | |
net.minecraft.network.protocol.game.ClientboundDamageEventPacket | |
net.minecraft.class_8143 | |
net.minecraft.network.packet.s2c.play.EntityDamageS2CPacket | |
net.minecraft.src.C_268363_ | |
net.minecraft.network.protocol.game.ClientboundDamageEventPacket |
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> |
| ||||||||||
private static final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Entity entity, DamageSource damageSource) |
private | (RegistryFriendlyByteBuf buf) |
public | (int sourceType, Holder<DamageType> sourceCauseId, int sourceDirectId, int sourcePosition, Optional<Vec3> arg4) |
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> |
|