public class MapIcon extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MapIcon.Type |
| Modifier and Type | Field and Description |
|---|---|
private byte |
rotation |
private Text |
text |
private MapIcon.Type |
type |
private byte |
x |
private byte |
z |
| Constructor and Description |
|---|
MapIcon(MapIcon.Type type,
byte x,
byte z,
byte rotation,
Text text) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte |
getRotation() |
Text |
getText() |
MapIcon.Type |
getType() |
byte |
getTypeId() |
byte |
getX() |
byte |
getZ() |
int |
hashCode() |
boolean |
isAlwaysRendered() |
private final MapIcon.Type type
private byte x
private byte z
private byte rotation
private final Text text
public MapIcon(MapIcon.Type type, byte x, byte z, byte rotation, @Nullable Text text)
@Environment(value=CLIENT) public byte getTypeId()
public MapIcon.Type getType()
public byte getX()
public byte getZ()
public byte getRotation()
@Environment(value=CLIENT) public boolean isAlwaysRendered()