public class MapBannerMarker extends Object
Modifier and Type | Field and Description |
---|---|
private DyeColor |
color |
private Text |
name |
private BlockPos |
pos |
Constructor and Description |
---|
MapBannerMarker(BlockPos pos,
DyeColor dyeColor,
Text name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static MapBannerMarker |
fromNbt(CompoundTag tag) |
static MapBannerMarker |
fromWorldBlock(BlockView blockView,
BlockPos blockPos) |
MapIcon.Type |
getIconType() |
String |
getKey() |
Text |
getName() |
CompoundTag |
getNbt() |
BlockPos |
getPos() |
int |
hashCode() |
public static MapBannerMarker fromNbt(CompoundTag tag)
@Nullable public static MapBannerMarker fromWorldBlock(BlockView blockView, BlockPos blockPos)
public BlockPos getPos()
public MapIcon.Type getIconType()
public CompoundTag getNbt()
public String getKey()