MetadataPlayerDeath .java

net.minecraft.client.stream.MetadataPlayerDeath (class, 22 lines): strings: "player_death", "killer", "player". imports: EntityLivingBase.

net.minecraft.client.streamclass22 linesclientextends Metadata511 B

API Surface (0)

No public/protected methods detected (fields or constants only).

String literals (3)

"player_death"
"player"
"killer"

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

MetadataPlayerDeath.java22 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.client.stream;
2
3
import net.minecraft.entity.EntityLivingBase;
4
5
public class MetadataPlayerDeath extends Metadata
6
{
7
    public MetadataPlayerDeath(EntityLivingBase p_i46066_1_, EntityLivingBase p_i46066_2_)
8
    {
9
        super("player_death");
10
11
        if (p_i46066_1_ != null)
12
        {
13
            this.func_152808_a("player", p_i46066_1_.getName());
14
        }
15
16
        if (p_i46066_2_ != null)
17
        {
18
            this.func_152808_a("killer", p_i46066_2_.getName());
19
        }
20
    }
21
}
22

Deobfuscated MCP 1.8.9 source of MetadataPlayerDeath from Marcelektro/MavenMCP-1.8.9 (net/minecraft/client/stream/MetadataPlayerDeath.java), stored verbatim.