PositionImpl .java

net.minecraft.dispenser.PositionImpl (class, 31 lines): implements IPosition. members: getX, getY, getZ.

net.minecraft.dispenserclass31 linescommon515 B

Implements

API Surface (3)

double getX()
double getY()
double getZ()

Fields & Constants (3)

x
y
z

Code Graph: Dependencies (1)

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

Full Source

PositionImpl.java31 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.dispenser;
2
3
public class PositionImpl implements IPosition
4
{
5
    protected final double x;
6
    protected final double y;
7
    protected final double z;
8
9
    public PositionImpl(double xCoord, double yCoord, double zCoord)
10
    {
11
        this.x = xCoord;
12
        this.y = yCoord;
13
        this.z = zCoord;
14
    }
15
16
    public double getX()
17
    {
18
        return this.x;
19
    }
20
21
    public double getY()
22
    {
23
        return this.y;
24
    }
25
26
    public double getZ()
27
    {
28
        return this.z;
29
    }
30
}
31

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