Class MapState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.item.map.MapState

public class MapState
extends PersistentState
  • Field Details

  • Constructor Details

    • MapState

      private MapState​(int int2, int int3, byte byte2, boolean bool, boolean bool2, boolean bool3, RegistryKey<World> registryKey)
  • Method Details

    • method_32363

      public static MapState method_32363​(double double2, double double3, byte byte2, boolean bool, boolean bool2, RegistryKey<World> registryKey)
    • method_32362

      @Environment(CLIENT) public static MapState method_32362​(byte byte2, boolean bool, RegistryKey<World> registryKey)
    • method_32371

      public static MapState method_32371​(CompoundTag compoundTag)
    • toTag

      public CompoundTag toTag​(CompoundTag tag)
      Specified by:
      toTag in class PersistentState
    • method_32361

      public MapState method_32361()
    • method_32364

      public MapState method_32364​(int int2)
    • update

      public void update​(PlayerEntity player, ItemStack stack)
    • method_32368

      private void method_32368​(String string)
    • addDecorationsTag

      public static void addDecorationsTag​(ItemStack stack, BlockPos pos, String id, MapIcon.Type type)
    • addIcon

      private void addIcon​(MapIcon.Type type, @Nullable WorldAccess world, String key, double x, double z, double rotation, @Nullable Text text)
    • getPlayerMarkerPacket

      @Nullable public Packet<?> getPlayerMarkerPacket​(int int2, PlayerEntity playerEntity)
    • markDirty

      private void markDirty​(int x, int z)
    • method_32374

      private void method_32374()
    • getPlayerSyncData

      public MapState.PlayerUpdateTracker getPlayerSyncData​(PlayerEntity player)
    • addBanner

      public void addBanner​(WorldAccess world, BlockPos pos)
    • removeBanner

      public void removeBanner​(BlockView world, int x, int z)
    • removeFrame

      public void removeFrame​(BlockPos pos, int id)
    • method_32365

      public boolean method_32365​(int int2, int int3, byte byte2)
    • method_32370

      public void method_32370​(int int2, int int3, byte byte2)
    • method_32372

      public boolean method_32372()
    • method_32369

      @Environment(CLIENT) public void method_32369​(MapIcon[] mapIcon)
    • method_32373

      @Environment(CLIENT) public Iterable<MapIcon> method_32373()