IWorldNameable .java

net.minecraft.world.IWorldNameable (interface, 22 lines): members: hasCustomName, getDisplayName, getName. imports: IChatComponent.

net.minecraft.worldinterface22 linescommon457 B

API Surface (0)

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

Code Graph: Dependencies (1)

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

Full Source

IWorldNameable.java22 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world;
2
3
import net.minecraft.util.IChatComponent;
4
5
public interface IWorldNameable
6
{
7
    /**
8
     * Get the name of this object. For players this returns their username
9
     */
10
    String getName();
11
12
    /**
13
     * Returns true if this thing is named
14
     */
15
    boolean hasCustomName();
16
17
    /**
18
     * Get the formatted ChatComponent that will be used for the sender's username in chat
19
     */
20
    IChatComponent getDisplayName();
21
}
22

Deobfuscated MCP 1.8.9 source of IWorldNameable from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/IWorldNameable.java), stored verbatim.