Package net.minecraft.item.map
Class MapIcon
java.lang.Object
net.minecraft.item.map.MapIcon
public class MapIcon extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapIcon.Type
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MapIcon(MapIcon.Type type, byte x, byte z, byte rotation, Text text)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
byte
getRotation()
Text
getText()
MapIcon.Type
getType()
byte
getTypeId()
byte
getX()
byte
getZ()
int
hashCode()
boolean
isAlwaysRendered()
-
Field Details
-
type
-
x
private byte x -
z
private byte z -
rotation
private byte rotation -
text
-
-
Constructor Details
-
MapIcon
-
-
Method Details
-
getTypeId
@Environment(CLIENT) public byte getTypeId() -
getType
-
getX
public byte getX() -
getZ
public byte getZ() -
getRotation
public byte getRotation() -
isAlwaysRendered
@Environment(CLIENT) public boolean isAlwaysRendered() -
getText
-
equals
-
hashCode
public int hashCode()
-