类 MapBannerMarker
- java.lang.Object
-
- net.minecraft.item.map.MapBannerMarker
-
public class MapBannerMarker extends Object
Represents a banner marker in world.Used to track banners in a map state.
- Mappings:
Namespace Name official dgointermediary net/minecraft/class_17named net/minecraft/item/map/MapBannerMarker
-
-
构造器概要
构造器 构造器 说明 MapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable Text name)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)static MapBannerMarkerfromNbt(CompoundTag nbt)static @Nullable MapBannerMarkerfromWorldBlock(BlockView blockView, BlockPos blockPos)DyeColorgetColor()MapIcon.TypegetIconType()StringgetKey()@Nullable TextgetName()CompoundTaggetNbt()BlockPosgetPos()inthashCode()
-
-
-
字段详细资料
-
pos
private final BlockPos pos
- Mappings:
Namespace Name Mixin selector official aLdgo;a:Lgb;intermediary field_69Lnet/minecraft/class_17;field_69:Lnet/minecraft/class_2338;named posLnet/minecraft/item/map/MapBannerMarker;pos:Lnet/minecraft/util/math/BlockPos;
-
color
private final DyeColor color
- Mappings:
Namespace Name Mixin selector official bLdgo;b:Lbon;intermediary field_68Lnet/minecraft/class_17;field_68:Lnet/minecraft/class_1767;named colorLnet/minecraft/item/map/MapBannerMarker;color:Lnet/minecraft/util/DyeColor;
-
-
构造器详细资料
-
MapBannerMarker
public MapBannerMarker(BlockPos pos, DyeColor dyeColor, @Nullable @Nullable Text name)
- Mappings:
Namespace Name Mixin selector official <init>Ldgo;<init>(Lgb;Lbon;Lon;)Vintermediary <init>Lnet/minecraft/class_17;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_1767;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/item/map/MapBannerMarker;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/DyeColor;Lnet/minecraft/text/Text;)V
-
-
方法详细资料
-
fromNbt
public static MapBannerMarker fromNbt(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official aLdgo;a(Lmv;)Ldgo;intermediary method_67Lnet/minecraft/class_17;method_67(Lnet/minecraft/class_2487;)Lnet/minecraft/class_17;named fromNbtLnet/minecraft/item/map/MapBannerMarker;fromNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/item/map/MapBannerMarker;
-
fromWorldBlock
@Nullable public static @Nullable MapBannerMarker fromWorldBlock(BlockView blockView, BlockPos blockPos)
- Mappings:
Namespace Name Mixin selector official aLdgo;a(Lbuv;Lgb;)Ldgo;intermediary method_73Lnet/minecraft/class_17;method_73(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_17;named fromWorldBlockLnet/minecraft/item/map/MapBannerMarker;fromWorldBlock(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/item/map/MapBannerMarker;
-
getPos
public BlockPos getPos()
- Mappings:
Namespace Name Mixin selector official aLdgo;a()Lgb;intermediary method_70Lnet/minecraft/class_17;method_70()Lnet/minecraft/class_2338;named getPosLnet/minecraft/item/map/MapBannerMarker;getPos()Lnet/minecraft/util/math/BlockPos;
-
getColor
public DyeColor getColor()
- Mappings:
Namespace Name Mixin selector official bLdgo;b()Lbon;intermediary method_35502Lnet/minecraft/class_17;method_35502()Lnet/minecraft/class_1767;named getColorLnet/minecraft/item/map/MapBannerMarker;getColor()Lnet/minecraft/util/DyeColor;
-
getIconType
public MapIcon.Type getIconType()
- Mappings:
Namespace Name Mixin selector official cLdgo;c()Ldgp$a;intermediary method_72Lnet/minecraft/class_17;method_72()Lnet/minecraft/class_20$class_21;named getIconTypeLnet/minecraft/item/map/MapBannerMarker;getIconType()Lnet/minecraft/item/map/MapIcon$Type;
-
getName
@Nullable public @Nullable Text getName()
- Mappings:
Namespace Name Mixin selector official dLdgo;d()Lon;intermediary method_68Lnet/minecraft/class_17;method_68()Lnet/minecraft/class_2561;named getNameLnet/minecraft/item/map/MapBannerMarker;getName()Lnet/minecraft/text/Text;
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
getNbt
public CompoundTag getNbt()
- Mappings:
Namespace Name Mixin selector official eLdgo;e()Lmv;intermediary method_74Lnet/minecraft/class_17;method_74()Lnet/minecraft/class_2487;named getNbtLnet/minecraft/item/map/MapBannerMarker;getNbt()Lnet/minecraft/nbt/CompoundTag;
-
getKey
public String getKey()
- Mappings:
Namespace Name Mixin selector official fLdgo;f()Ljava/lang/String;intermediary method_71Lnet/minecraft/class_17;method_71()Ljava/lang/String;named getKeyLnet/minecraft/item/map/MapBannerMarker;getKey()Ljava/lang/String;
-
-