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 classMapIcon.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 booleanequals(Object o)bytegetRotation()TextgetText()MapIcon.TypegetType()bytegetTypeId()bytegetX()bytegetZ()inthashCode()booleanisAlwaysRendered()
-
Field Details
-
type
-
x
private final byte x -
z
private final byte z -
rotation
private final 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()
-