net.minecraft.item

public class FilledMapItem

extends Item

All mapped superinterfaces:

ItemConvertible, ToggleableFeature

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

Field summary

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

Constructor summary

ModifierConstructor
public (Item$Settings properties)

Method summary

Modifier and TypeMethod
public static ItemStack
create(ServerLevel level, int originX, int originZ, byte scale, boolean trackPosition, boolean unlimitedTracking)
method_8005(class_3218 arg0, int arg1, int arg2, byte arg3, boolean arg4, boolean arg5)
createMap(ServerWorld world, int x, int z, byte scale, boolean showIcons, boolean unlimitedTracking)
public static MapState
getSavedData(MapId id, Level level)
method_7997(class_9209 arg0, class_1937 arg1)
getMapState(MapIdComponent id, World world)
public static MapState
getSavedData(ItemStack itemStack, Level level)
method_8001(class_1799 arg0, class_1937 arg1)
getMapState(ItemStack map, World world)
private static MapIdComponent
createNewSavedData(ServerLevel level, int xSpawn, int zSpawn, int scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension)
method_32349(class_3218 arg0, int arg1, int arg2, int arg3, boolean arg4, boolean arg5, class_5321<class_1937> arg6)
allocateMapId(ServerWorld world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension)
public void
update(Level level, Entity player, MapItemSavedData data)
method_7998(class_1937 arg0, class_1297 arg1, class_22 arg2)
updateColors(World world, Entity entity, MapState state)
private BlockState
getCorrectStateForFluidBlock(Level level, BlockState state, BlockPos pos)
method_7995(class_1937 arg0, class_2680 arg1, class_2338 arg2)
getFluidStateIfVisible(World world, BlockState state, BlockPos pos)
private static boolean
isBiomeWatery(boolean[] isBiomeWatery, int x, int z)
method_38988(boolean[] arg0, int arg1, int arg2)
isAquaticBiome(boolean[] biomes, int x, int z)
public static void
renderBiomePreviewMap(ServerLevel level, ItemStack mapItemStack)
method_8002(class_3218 arg0, class_1799 arg1)
fillExplorationMap(ServerWorld world, ItemStack map)
public void
inventoryTick(ItemStack itemStack, ServerLevel level, Entity owner, EquipmentSlot slot)
method_7888(class_1799 arg0, class_3218 arg1, class_1297 arg2, class_1304 arg3)
inventoryTick(ItemStack arg0, ServerWorld arg1, Entity arg2, EquipmentSlot arg3)
public void
onCraftedPostProcess(ItemStack itemStack, Level level)
method_7843(class_1799 arg0, class_1937 arg1)
onCraft(ItemStack arg0, World arg1)
private static void
scaleMap(ItemStack itemStack, ServerLevel level)
method_7996(class_1799 arg0, class_3218 arg1)
scale(ItemStack map, ServerWorld world)
private static void
lockMap(ItemStack map, ServerLevel level)
method_17442(class_1799 arg0, class_3218 arg1)
copyMap(ItemStack stack, ServerWorld world)
public ActionResult
useOn(UseOnContext context)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)