net.minecraft.world.item

public class MapItem

extends ComplexItem

All mapped superinterfaces:

FeatureElement, ItemLike

cnf
net.minecraft.world.item.MapItem
net.minecraft.class_1806
net.minecraft.unmapped.C_dojvtveo
net.minecraft.item.FilledMapItem
net.minecraft.item.FilledMapItem
net.minecraft.src.C_1398_
net.minecraft.world.item.ItemWorldMap

Field summary

Modifier and TypeField
public static final int
a
IMAGE_WIDTH
field_30907
f_ukzwbuor
field_30907
IMAGE_WIDTH
f_151104_
public static final int
b
IMAGE_HEIGHT
field_30908
f_ffptwiiq
field_30908
IMAGE_HEIGHT
f_151105_
private static final int
e
DEFAULT_MAP_COLOR
field_30909
f_kvquerkt
DEFAULT_MAP_COLOR
DEFAULT_MAP_COLOR
f_151106_
private static final String
f
TAG_MAP
field_30910
f_jvsxibzx
MAP_KEY
MAP_KEY
f_151107_
public static final String
c
MAP_SCALE_TAG
field_41067
f_pmdxityt
MAP_SCALE_DIRECTION_KEY
MAP_SCALE_DIRECTION_KEY
f_257005_
public static final String
d
MAP_LOCK_TAG
field_41068
f_kdenptyf
MAP_TO_LOCK_KEY
MAP_TO_LOCK_KEY
f_256921_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemStack
a(ctp arg0, int arg1, int arg2, byte arg3, boolean arg4, boolean arg5)
create(Level arg0, int arg1, int arg2, byte arg3, boolean arg4, boolean arg5)
method_8005(class_1937 arg0, int arg1, int arg2, byte arg3, boolean arg4, boolean arg5)
m_pjeeahfd(C_cdctfzbn arg0, int arg1, int arg2, byte arg3, boolean arg4, boolean arg5)
createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking)
createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking)
m_42886_(C_1596_ p_42887_, int p_42888_, int p_42889_, byte p_42890_, boolean p_42891_, boolean p_42892_)
public static MapItemSavedData
a(Integer arg0, ctp arg1)
getSavedData(Integer arg0, Level arg1)
method_7997(Integer arg0, class_1937 arg1)
m_rfrlrnfu(Integer arg0, C_cdctfzbn arg1)
getMapState(Integer id, World world)
getMapState(Integer id, World world)
m_151128_(Integer p_151129_, C_1596_ p_151130_)
public static MapItemSavedData
b(cmy arg0, ctp arg1)
getSavedData(ItemStack arg0, Level arg1)
method_8001(class_1799 arg0, class_1937 arg1)
m_mpaybwls(C_sddaxwyk arg0, C_cdctfzbn arg1)
getMapState(ItemStack map, World world)
getOrCreateMapState(ItemStack map, World world)
m_42853_(C_1391_ p_42854_, C_1596_ p_42855_)
public static Integer
d(cmy arg0)
getMapId(ItemStack arg0)
method_8003(class_1799 arg0)
m_xlxzuimm(C_sddaxwyk arg0)
getMapId(ItemStack stack)
getMapId(ItemStack stack)
m_151131_(C_1391_ p_151132_)
private static int
a(ctp arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, ahf<ctp> arg6)
createNewSavedData(Level arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, ResourceKey<Level> arg6)
method_32349(class_1937 arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, class_5321<class_1937> arg6)
m_umfrihvk(C_cdctfzbn arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, C_xhhleach<C_cdctfzbn> arg6)
allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
m_151120_(C_1596_ p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, C_5264_<C_1596_> p_151127_)
private static void
a(cmy arg0, int arg1)
storeMapData(ItemStack arg0, int arg1)
method_32348(class_1799 arg0, int arg1)
m_lonanumc(C_sddaxwyk arg0, int arg1)
setMapId(ItemStack stack, int id)
setMapId(ItemStack stack, int id)
m_151108_(C_1391_ p_151109_, int p_151110_)
private static void
a(cmy arg0, ctp arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6, ahf<ctp> arg7)
createAndStoreSavedData(ItemStack arg0, Level arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6, ResourceKey<Level> arg7)
method_8000(class_1799 arg0, class_1937 arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6, class_5321<class_1937> arg7)
m_lflngaej(C_sddaxwyk arg0, C_cdctfzbn arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6, C_xhhleach<C_cdctfzbn> arg7)
createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
m_151111_(C_1391_ p_151112_, C_1596_ p_151113_, int p_151114_, int p_151115_, int p_151116_, boolean p_151117_, boolean p_151118_, C_5264_<C_1596_> p_151119_)
public static String
a(int arg0)
makeKey(int arg0)
method_17440(int arg0)
m_grhvepyq(int arg0)
getMapName(int mapId)
getMapName(int mapId)
m_42848_(int p_42849_)
public void
a(ctp arg0, blv arg1, egb arg2)
update(Level arg0, Entity arg1, MapItemSavedData arg2)
method_7998(class_1937 arg0, class_1297 arg1, class_22 arg2)
m_cjchytar(C_cdctfzbn arg0, C_astfners arg1, C_nvpllgmg arg2)
updateColors(World world, Entity entity, MapState state)
updateColors(World world, Entity entity, MapState state)
m_42893_(C_1596_ p_42895_, C_507_ p_42896_, C_2771_ arg2)
private BlockState
a(ctp arg0, djh arg1, hx arg2)
getCorrectStateForFluidBlock(Level arg0, BlockState arg1, BlockPos arg2)
method_7995(class_1937 arg0, class_2680 arg1, class_2338 arg2)
m_nvnkzmdu(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2)
getFluidStateIfVisible(World world, BlockState state, BlockPos pos)
getFluidStateIfVisible(World world, BlockState state, BlockPos pos)
m_42900_(C_1596_ p_42902_, C_2064_ p_42903_, C_4675_ arg2)
private static boolean
a(boolean[] arg0, int arg1, int arg2)
isBiomeWatery(boolean[] arg0, int arg1, int arg2)
method_38988(boolean[] arg0, int arg1, int arg2)
m_vapwhpfv(boolean[] arg0, int arg1, int arg2)
isAquaticBiome(boolean[] biomes, int x, int z)
isAquaticBiome(boolean[] biomes, int x, int z)
m_212251_(boolean[] p_212252_, int p_212253_, int p_212254_)
public static void
a(and arg0, cmy arg1)
renderBiomePreviewMap(ServerLevel arg0, ItemStack arg1)
method_8002(class_3218 arg0, class_1799 arg1)
m_wuefglpb(C_bdwnwhiu arg0, C_sddaxwyk arg1)
fillExplorationMap(ServerWorld world, ItemStack map)
fillExplorationMap(ServerWorld world, ItemStack map)
m_42850_(C_12_ p_42851_, C_1391_ p_42852_)
public void
a(cmy arg0, ctp arg1, blv arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, Level arg1, Entity arg2, int arg3, boolean arg4)
method_7888(class_1799 arg0, class_1937 arg1, class_1297 arg2, int arg3, boolean arg4)
m_qqswvlkq(C_sddaxwyk arg0, C_cdctfzbn arg1, C_astfners arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, World arg1, Entity arg2, int arg3, boolean arg4)
inventoryTick(ItemStack arg0, World arg1, Entity arg2, int arg3, boolean arg4)
m_6883_(C_1391_ p_42871_, C_1596_ p_42872_, C_507_ p_42873_, int p_42874_, boolean arg4)
public Packet<?>
a(cmy arg0, ctp arg1, cfi arg2)
getUpdatePacket(ItemStack arg0, Level arg1, Player arg2)
method_7757(class_1799 arg0, class_1937 arg1, class_1657 arg2)
m_uckxskya(C_sddaxwyk arg0, C_cdctfzbn arg1, C_jzrpycqo arg2)
createSyncPacket(ItemStack arg0, World arg1, PlayerEntity arg2)
createSyncPacket(ItemStack arg0, World arg1, PlayerEntity arg2)
m_7233_(C_1391_ p_42877_, C_1596_ p_42878_, C_1141_ arg2)
public void
a(cmy arg0, ctp arg1)
onCraftedPostProcess(ItemStack arg0, Level arg1)
method_7843(class_1799 arg0, class_1937 arg1)
m_ckolblsl(C_sddaxwyk arg0, C_cdctfzbn arg1)
onCraft(ItemStack arg0, World arg1)
onCraft(ItemStack arg0, World arg1)
m_42912_(C_1391_ p_42914_, C_1596_ arg1)
private static void
a(cmy arg0, ctp arg1, int arg2)
scaleMap(ItemStack arg0, Level arg1, int arg2)
method_7996(class_1799 arg0, class_1937 arg1, int arg2)
m_pfklxuve(C_sddaxwyk arg0, C_cdctfzbn arg1, int arg2)
scale(ItemStack map, World world, int amount)
scale(ItemStack map, World world, int amount)
m_42856_(C_1391_ p_42857_, C_1596_ p_42858_, int p_42859_)
public static void
a(ctp arg0, cmy arg1)
lockMap(Level arg0, ItemStack arg1)
method_17442(class_1937 arg0, class_1799 arg1)
m_yedsjegw(C_cdctfzbn arg0, C_sddaxwyk arg1)
copyMap(World world, ItemStack stack)
copyMap(World world, ItemStack stack)
m_42897_(C_1596_ p_42898_, C_1391_ p_42899_)
public void
a(cmy arg0, ctp arg1, List<vf> arg2, coq arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
m_vlpdhsgt(C_sddaxwyk arg0, C_cdctfzbn arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_42881_, C_1596_ p_42882_, List<C_4996_> p_42883_, C_1431_ arg3)
private static Component
c(int arg0)
getTooltipForId(int arg0)
method_53836(int arg0)
m_hcsyvkgy(int arg0)
getIdText(int id)
m_294117_(int p_301261_)
public static Component
k(cmy arg0)
getTooltipForId(ItemStack arg0)
method_53837(class_1799 arg0)
m_rrjmrkhw(C_sddaxwyk arg0)
getIdText(ItemStack stack)
m_rrjmrkhw(ItemStack stack)
m_293593_(C_1391_ p_299069_)
public static int
o(cmy arg0)
getColor(ItemStack arg0)
method_7999(class_1799 arg0)
m_ocvaricu(C_sddaxwyk arg0)
getMapColor(ItemStack stack)
getMapColor(ItemStack stack)
m_42918_(C_1391_ p_42919_)
public InteractionResult
a(cpj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)