public class MapBanner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private DyeColor |
color |
private ITextComponent |
name |
private BlockPos |
pos |
Constructor and Description |
---|
MapBanner(BlockPos p_i48876_1_,
DyeColor p_i48876_2_,
ITextComponent p_i48876_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
static MapBanner |
fromWorld(IBlockReader p_204301_0_,
BlockPos p_204301_1_) |
MapDecoration.Type |
getDecorationType() |
java.lang.String |
getMapDecorationId() |
ITextComponent |
getName() |
BlockPos |
getPos() |
int |
hashCode() |
static MapBanner |
read(CompoundNBT p_204300_0_) |
CompoundNBT |
write() |
private final BlockPos pos
private final DyeColor color
@Nullable private final ITextComponent name
public MapBanner(BlockPos p_i48876_1_, DyeColor p_i48876_2_, @Nullable ITextComponent p_i48876_3_)
public static MapBanner read(CompoundNBT p_204300_0_)
@Nullable public static MapBanner fromWorld(IBlockReader p_204301_0_, BlockPos p_204301_1_)
public BlockPos getPos()
public MapDecoration.Type getDecorationType()
@Nullable public ITextComponent getName()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CompoundNBT write()
public java.lang.String getMapDecorationId()