public class MapDecoration
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
MapDecoration.Type |
コンストラクタと説明 |
---|
MapDecoration(MapDecoration.Type p_i48875_1_,
byte p_i48875_2_,
byte p_i48875_3_,
byte p_i48875_4_,
ITextComponent p_i48875_5_) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
ITextComponent |
getCustomName() |
byte |
getImage() |
byte |
getRotation() |
MapDecoration.Type |
getType() |
byte |
getX() |
byte |
getY() |
int |
hashCode() |
boolean |
render(int index)
Renders this decoration, useful for custom sprite sheets.
|
boolean |
renderOnFrame() |
public MapDecoration(MapDecoration.Type p_i48875_1_, byte p_i48875_2_, byte p_i48875_3_, byte p_i48875_4_, @Nullable ITextComponent p_i48875_5_)
public byte getImage()
public MapDecoration.Type getType()
public byte getX()
public byte getY()
public byte getRotation()
public boolean renderOnFrame()
@Nullable public ITextComponent getCustomName()
public boolean equals(java.lang.Object p_equals_1_)
equals
クラス内 java.lang.Object
public int hashCode()
hashCode
クラス内 java.lang.Object
public boolean render(int index)
index
- The index of this icon in the MapData's list. Used by vanilla to offset the Z-coordinate to prevent Z-fighting