public class MapFrameMarker extends Object
Modifier and Type | Field and Description |
---|---|
private int |
entityId |
private BlockPos |
pos |
private int |
rotation |
Constructor and Description |
---|
MapFrameMarker(BlockPos pos,
int rotation,
int entityId) |
Modifier and Type | Method and Description |
---|---|
static MapFrameMarker |
fromTag(CompoundTag tag) |
int |
getEntityId() |
String |
getKey() |
static String |
getKey(BlockPos pos) |
BlockPos |
getPos() |
int |
getRotation() |
CompoundTag |
toTag() |
private final BlockPos pos
private final int rotation
private final int entityId
public MapFrameMarker(BlockPos pos, int rotation, int entityId)
public static MapFrameMarker fromTag(CompoundTag tag)
public CompoundTag toTag()
public BlockPos getPos()
public int getRotation()
public int getEntityId()
public String getKey()