implements Packet<ClientGamePacketListener>
adr | |
net.minecraft.network.protocol.game.ClientboundDamageEventPacket | |
net.minecraft.class_8143 | |
net.minecraft.network.packet.s2c.play.EntityDamageS2CPacket | |
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> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Entity entity, DamageSource damageSource) |
private | (RegistryFriendlyByteBuf buf) |
public | (int arg0, Holder<DamageType> arg1, int arg2, int arg3, 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> |
|