Class MapData

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • x

        public int x
      • z

        public int z
      • trackingPosition

        public boolean trackingPosition
      • unlimitedTracking

        public boolean unlimitedTracking
      • scale

        public byte scale
      • colors

        public byte[] colors
      • locked

        public boolean locked
      • bannerMarkers

        private final java.util.Map<java.lang.String,​MapBanner> bannerMarkers
      • decorations

        public final java.util.Map<java.lang.String,​MapDecoration> decorations
      • frameMarkers

        private final java.util.Map<java.lang.String,​MapFrame> frameMarkers
    • Constructor Detail

      • MapData

        public MapData​(java.lang.String p_i2140_1_)
    • Method Detail

      • setProperties

        public void setProperties​(int p_237241_1_,
                                  int p_237241_2_,
                                  int p_237241_3_,
                                  boolean p_237241_4_,
                                  boolean p_237241_5_,
                                  RegistryKey<World> p_237241_6_)
      • setOrigin

        public void setOrigin​(double p_176054_1_,
                              double p_176054_3_,
                              int p_176054_5_)
      • lockData

        public void lockData​(MapData p_215160_1_)
      • addTargetDecoration

        public static void addTargetDecoration​(ItemStack p_191094_0_,
                                               BlockPos p_191094_1_,
                                               java.lang.String p_191094_2_,
                                               MapDecoration.Type p_191094_3_)
      • addDecoration

        private void addDecoration​(MapDecoration.Type p_191095_1_,
                                   @Nullable
                                   IWorld p_191095_2_,
                                   java.lang.String p_191095_3_,
                                   double p_191095_4_,
                                   double p_191095_6_,
                                   double p_191095_8_,
                                   @Nullable
                                   ITextComponent p_191095_10_)
      • setDirty

        public void setDirty​(int p_176053_1_,
                             int p_176053_2_)
      • toggleBanner

        public void toggleBanner​(IWorld p_204269_1_,
                                 BlockPos p_204269_2_)
      • checkBanners

        public void checkBanners​(IBlockReader p_204268_1_,
                                 int p_204268_2_,
                                 int p_204268_3_)
      • removedFromFrame

        public void removedFromFrame​(BlockPos p_212441_1_,
                                     int p_212441_2_)