Package net.minecraft.item.map
Class MapBannerMarker
java.lang.Object
net.minecraft.item.map.MapBannerMarker
Represents a banner marker in world.
Used to track banners in a map state.
- Mappings:
Namespace Name intermediary net/minecraft/class_17official dyhnamed net/minecraft/item/map/MapBannerMarker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic MapBannerMarkerfromNbt(NbtCompound nbt) static @Nullable MapBannerMarkerfromWorldBlock(BlockView blockView, BlockPos blockPos) getColor()getKey()getName()getNbt()getPos()inthashCode()
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector intermediary field_69Lnet/minecraft/class_17;field_69:Lnet/minecraft/class_2338;official aLdyh;a:Lgu;named posLnet/minecraft/item/map/MapBannerMarker;pos:Lnet/minecraft/util/math/BlockPos;
-
color
- Mappings:
Namespace Name Mixin selector intermediary field_68Lnet/minecraft/class_17;field_68:Lnet/minecraft/class_1767;official bLdyh;b:Lcel;named colorLnet/minecraft/item/map/MapBannerMarker;color:Lnet/minecraft/util/DyeColor;
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_67Lnet/minecraft/class_17;field_67:Lnet/minecraft/class_2561;official cLdyh;c:Lsw;named nameLnet/minecraft/item/map/MapBannerMarker;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
MapBannerMarker
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_17;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_1767;Lnet/minecraft/class_2561;)Vofficial <init>Ldyh;<init>(Lgu;Lcel;Lsw;)Vnamed <init>Lnet/minecraft/item/map/MapBannerMarker;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/DyeColor;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
fromNbt
- Mappings:
Namespace Name Mixin selector intermediary method_67Lnet/minecraft/class_17;method_67(Lnet/minecraft/class_2487;)Lnet/minecraft/class_17;official aLdyh;a(Lqr;)Ldyh;named fromNbtLnet/minecraft/item/map/MapBannerMarker;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/item/map/MapBannerMarker;
-
fromWorldBlock
@Nullable public static @Nullable MapBannerMarker fromWorldBlock(BlockView blockView, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector intermediary method_73Lnet/minecraft/class_17;method_73(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_17;official aLdyh;a(Lclq;Lgu;)Ldyh;named fromWorldBlockLnet/minecraft/item/map/MapBannerMarker;fromWorldBlock(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/item/map/MapBannerMarker;
-
getPos
- Mappings:
Namespace Name Mixin selector intermediary method_70Lnet/minecraft/class_17;method_70()Lnet/minecraft/class_2338;official aLdyh;a()Lgu;named getPosLnet/minecraft/item/map/MapBannerMarker;getPos()Lnet/minecraft/util/math/BlockPos;
-
getColor
- Mappings:
Namespace Name Mixin selector intermediary method_35502Lnet/minecraft/class_17;method_35502()Lnet/minecraft/class_1767;official bLdyh;b()Lcel;named getColorLnet/minecraft/item/map/MapBannerMarker;getColor()Lnet/minecraft/util/DyeColor;
-
getIconType
- Mappings:
Namespace Name Mixin selector intermediary method_72Lnet/minecraft/class_17;method_72()Lnet/minecraft/class_20$class_21;official cLdyh;c()Ldyi$a;named getIconTypeLnet/minecraft/item/map/MapBannerMarker;getIconType()Lnet/minecraft/item/map/MapIcon$Type;
-
getName
- Mappings:
Namespace Name Mixin selector intermediary method_68Lnet/minecraft/class_17;method_68()Lnet/minecraft/class_2561;official dLdyh;d()Lsw;named getNameLnet/minecraft/item/map/MapBannerMarker;getName()Lnet/minecraft/text/Text;
-
equals
-
hashCode
public int hashCode() -
getNbt
- Mappings:
Namespace Name Mixin selector intermediary method_74Lnet/minecraft/class_17;method_74()Lnet/minecraft/class_2487;official eLdyh;e()Lqr;named getNbtLnet/minecraft/item/map/MapBannerMarker;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
getKey
- Mappings:
Namespace Name Mixin selector intermediary method_71Lnet/minecraft/class_17;method_71()Ljava/lang/String;official fLdyh;f()Ljava/lang/String;named getKeyLnet/minecraft/item/map/MapBannerMarker;getKey()Ljava/lang/String;
-