net.minecraft.world.item

public class MapItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cyc
net.minecraft.world.item.MapItem
net.minecraft.class_1806
net.minecraft.item.FilledMapItem
net.minecraft.world.item.ItemWorldMap

Field summary

Modifier and TypeField
public static final int
a
IMAGE_WIDTH
field_30907
field_30907
public static final int
b
IMAGE_HEIGHT
field_30908
field_30908

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemStack
a(dhi 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)
createMap(World world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking)
public static MapItemSavedData
a(evp arg0, dhi arg1)
getSavedData(MapId arg0, Level arg1)
method_7997(class_9209 arg0, class_1937 arg1)
getMapState(MapIdComponent id, World world)
public static MapItemSavedData
b(cxp arg0, dhi arg1)
getSavedData(ItemStack arg0, Level arg1)
method_8001(class_1799 arg0, class_1937 arg1)
getMapState(ItemStack map, World world)
private static MapId
a(dhi arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, aly<dhi> 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)
allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
public void
a(dhi arg0, bvk arg1, evr arg2)
update(Level arg0, Entity arg1, MapItemSavedData arg2)
method_7998(class_1937 arg0, class_1297 arg1, class_22 arg2)
updateColors(World world, Entity entity, MapState state)
private BlockState
a(dhi arg0, dxv arg1, jh arg2)
getCorrectStateForFluidBlock(Level arg0, BlockState arg1, BlockPos arg2)
method_7995(class_1937 arg0, class_2680 arg1, class_2338 arg2)
getFluidStateIfVisible(World world, BlockState state, BlockPos pos)
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)
isAquaticBiome(boolean[] biomes, int x, int z)
public static void
a(ash arg0, cxp arg1)
renderBiomePreviewMap(ServerLevel arg0, ItemStack arg1)
method_8002(class_3218 arg0, class_1799 arg1)
fillExplorationMap(ServerWorld world, ItemStack map)
public void
a(cxp arg0, dhi arg1, bvk 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)
inventoryTick(ItemStack arg0, World arg1, Entity arg2, int arg3, boolean arg4)
public void
a(cxp arg0, dhi arg1)
onCraftedPostProcess(ItemStack arg0, Level arg1)
method_7843(class_1799 arg0, class_1937 arg1)
onCraft(ItemStack arg0, World arg1)
private static void
c(cxp arg0, dhi arg1)
scaleMap(ItemStack arg0, Level arg1)
method_7996(class_1799 arg0, class_1937 arg1)
scale(ItemStack map, World world)
public static void
a(dhi arg0, cxp arg1)
lockMap(Level arg0, ItemStack arg1)
method_17442(class_1937 arg0, class_1799 arg1)
copyMap(World world, ItemStack stack)
public void
a(cxp arg0, cxl$b arg1, List<xv> arg2, czh arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
public static Component
a(evp arg0)
getTooltipForId(MapId arg0)
method_53836(class_9209 arg0)
getIdText(MapIdComponent id)
public InteractionResult
a(dbi arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)