BetterMaps v2.2 [1.5.1]
This mod makes improvements to the vanilla maps.
Features
Have you ever been exploring with a map, gotten to the edge, and wished you could just make another one with a matching edge? Have you ever been annoyed because you had to instead estimate where the center would be, go there to make a new map, and have to explore back the way you came just to fill out where you'd already been? Well, I have, and so I made this mod, which adds recipes to overwrite existing maps and make them line up with another one. (I also added diagonal recipes in 2.0, but I don't feel like adding more screenshots ) This also means that with this mod, you have a way to recycle old maps that are redundant, or turned out wrong, or are of locations you don't care about anymore.
Each recipe overwrites the data of the map to the side of the center one, and makes its center a map-length away on the respective side. All other attributes, like dimension(overworld/nether/end) and scale(zoom level), are inherited from the center map. The center map is not consumed in these recipes; it stays in the crafting grid. One thing you should keep in mind is that you can not craft duplicate maps together, as it doesn't really make sense to try to align a map with itself. And I know that these recipes look like just two recipes in different spots in the crafting table, but I'm not using the standard recipe creation method for these recipes. The criteria for recognizing valid map connection recipes is in its own file, just like the vanilla map duplication recipes (which is actually the example I was able to follow to do this). Also, even though they are small enough to fit in the 2x2 grid, they won't show up there, and can only be done on the crafting table.
Maps in item frames are rendered bigger than before, and take up the whole block, hiding the item frame itself behind the map. (Picture below)
In 1.4, maps no longer center on you when you start them, but I reverted this change, since this mod provides a better alternative for aligning maps.
If you don't like these last two changes, they can be removed by not installing the base classes they reside in. See the Compatibility section below.
Here are some pictures of the resulting maps:
(!Disclaimer! These maps are actually in item frames: they are not hanging by themselves. I just made them render bigger than they used to)
This mod does not change the way maps are crafted initially.
---
Here's a video by inawordnope spotlighting a Minecraft-1.3.2 version of the mod:
---
Known Issues
Shift clicking maps from the recipes will make them not stack with others of the same number, but this doesn't happen when you don't shift click. (low priority)
Installation
First, install either ModLoader or Forge, depending on which version you want to use, and then simply drop the contents of the zip file into minecraft.jar, overwriting existing classes. As BetterMaps modifies base classes, you can't drop it in the mods folder.
You must install BetterMaps after ModLoader or Forge, as BetterMaps modifies some of the same classes as them. You will be overwriting ModLoader/Forge classes, but I coded my changes on top of theirs, so nothing should be lost. Besides, it's always a good idea to install your APIs before your other mods anyway.
not so Important anymore: If you are updating to version 1.2 of the mod from a previous version, you won't be able to just install over the previous version, as I've stopped modifying base classes in 1.2. You will have get a clean jar (or restore clean copies of Item.class and ItemStack.class) before installing in this case. It will probably crash if you don't. (it might, it might not. I haven't tested it.)
Compatibility
The current version of BetterMaps modifies the following base classes; any other mod that modifies these classes will not be compatible. This applies to both the Forge and ModLoader versions.
[F]ItemMap.class (wo.class) (modified for obvious reasons; most of the mod code is in here)
*[F]ItemEmptyMap.class (vv.class) (modified to make maps center on you instead of snapping to a grid)
[F][ML]SlotCrafting.class (uk.class) (modified to make center map stay in crafting grid)
*RenderItemFrame.class (bhi.class) (modified to make maps in item frames be rendered bigger)
This mod does not currently work for SMP, though it does work for LAN, if it is installed on the clients connecting to the LAN world (or it did in 1.3... I haven't tested it with LAN in 1.4 yet, but I don't think it should be any different...). I don't know what would happen if one client didn't have it installed, hopefully nothing bad.
[ML] = also modified by Modloader
[F] = also modified by Minecraft Forge
* = optional files : if you don't install these modified base classes, the mod will still work fine, but the changes made in these classes will obviously not be there.
v2.0
-Updated the mod to Minecraft 1.4.2
-Removed map duplication recipe and map number tooltip, since these were added in vanilla Minecraft.
-Made maps center on you again when you start them, instead of snapping to a grid.
-Made maps in item frames render bigger so that they take up the full block, hiding the item frame behind the map.
-Changed the way the recipes work in the code. The in-game implications of this are as follows:
-+They can now only be done on the crafting table
-+Added diagonal map connection recipes since the code change made it easier to add them in than to leave them out
-+Made the center map only stay in the grid when using the connection recipes, so that you can't get free maps when using the vanilla map duplication recipe in a crafting table with a map in the center slot.
-+Made it so you can't use duplicate maps (maps with the same number) in the map connection recipes, as being able to do so just felt kind of weird.
v1.2
-Refactored code to stop editing Item.class and ItemStack.class
v1.1
-Updated the mod to Minecraft 1.3.2
v1.0
-Initial release
To do list:
SMP support
maybe add a way (config file or otherwise) to make 'connected' maps have some overlap to make it easier to see if their edges match
This is a great idea for this mod, I wonder why no one think able this before.
its a great idea, been tossed around many many times, its just that it almost always modifies base class's, and everyone knows, anything that modifies base class's, isnt ever used at all(besides forge, modloader, anything with API or NEI or TMI...)
Excellent. There's one thing missing, though: the ability to place maps on blocks, similarly to how paintings work.
There's an old mod that's been apparently abandoned by the creator called Hangable Maps, which did seemingly everything you've done, plus the ability to place maps on blocks - so you can create large maps that are hung on walls or placed on a table! Never got a response from the PM I sent the creator to see if they had any intention of updating it, so I imagine the mod's free game these days.
If you can manage to set this up where it actually worked with Forge, that would be great. As is, modifying a base class that much just is asking for incompatibilities with some mods(I can see one with twilight forest probably as is, as it adds new map types).
Excellent. There's one thing missing, though: the ability to place maps on blocks, similarly to how paintings work.
There's an old mod that's been apparently abandoned by the creator called Hangable Maps, which did seemingly everything you've done, plus the ability to place maps on blocks - so you can create large maps that are hung on walls or placed on a table! Never got a response from the PM I sent the creator to see if they had any intention of updating it, so I imagine the mod's free game these days.
I agree. I was looking for a mod like that, but ended up finding this mod.
Rollback Post to RevisionRollBack
"The circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are." -Mewtwo
Excellent. There's one thing missing, though: the ability to place maps on blocks, similarly to how paintings work.
There's an old mod that's been apparently abandoned by the creator called Hangable Maps, which did seemingly everything you've done, plus the ability to place maps on blocks - so you can create large maps that are hung on walls or placed on a table! Never got a response from the PM I sent the creator to see if they had any intention of updating it, so I imagine the mod's free game these days.
If you can manage to set this up where it actually worked with Forge, that would be great. As is, modifying a base class that much just is asking for incompatibilities with some mods(I can see one with twilight forest probably as is, as it adds new map types).
I've added a Forge compatible version, though it still modifies all the same base classes since Forge didn't have the hook I had to put in to make this mod work. I haven't tested it with other Forge mods, but as long as they don't modify the same classes, there shouldn't be any problems.
I'm not sure is this the mod you talked about: http://forum.minecra...php?f=13&t=5422
That mod has the extra feature to duplicate map, but not like this mod can create maps beside another map.
Basically the mod was designed to automatically draw maps in such a way that they could be tiled together to create one very large map when placed on blocks, and they basically seemed to function the same as paintings as far as placing them onto blocks, though each individual map was always just a separate 1x1, of course.
Mostly the only behavior I'd like to see added to this mod is the ability to place maps onto blocks; everything else from the Hangable Maps mods is present, and frankly in a way I prefer (being able to choose which side the map starts on through crafting, etc.)
I just miss being able to make map tables and stuff
I may be able to look at ljdp's code for hangable maps and update it to 1.3.2, though with the changes to the code base in 1.3, it might be somewhat difficult. I'll take a look at it in any case, and see what I can do. I have to agree that placeable maps are pretty cool. I can imagine people back at HQ watching the progress of an explorer as he travels around with a map.
I've updated the mod to stop modifying two of the base classes it was previously modifying, Item.class and ItemStack.class, since I found a better way to access the crafting grid from the onCreated method in ItemMap.class.
For those who care: The onCreated method is passed a player object, and I found out that I could access the current crafting grid being used by the player from this object, instead of passing it down from SlotCrafting.class through Item and ItemStack like I previously was. I still have to edit SlotCrafting to make the center map stay in the grid though.
However, this means that you can't install this version over old ones, since the previously modified base classes will still be there, and will likely cause a crash. You will have to get a clean jar, or just replace Item.class and ItemStack.class with clean ones, before installing this version if you are updating from a previous one.
I've updated the mod to stop modifying two of the base classes it was previously modifying, Item.class and ItemStack.class, since I found a better way to access the crafting grid from the onCreated method in ItemMap.class.
For those who care: The onCreated method is passed a player object, and I found out that I could access the current crafting grid being used by the player from this object, instead of passing it down from SlotCrafting.class through Item and ItemStack like I previously was. I still have to edit SlotCrafting to make the center map stay in the grid though.
However, this means that you can't install this version over old ones, since the previously modified base classes will still be there, and will likely cause a crash. You will have to get a clean jar, or just replace Item.class and ItemStack.class with clean ones, before installing this version if you are updating from a previous one.
Glad to hear it. Fewer edited base classes is never a bad thing
this is a fantastic mod, but i too knew the hangable map (http://www.minecraft...e-maps-v11-smp/) and would be fantastic if also in this mod i can hang my maps on walls or lay it on a table. do you add this feature in the future?
ps Is compatible in smp?
I would like to make them hangable, but I am thinking of waiting until 1.4 or whenever item frames come out so I can use their code as an example, since I'm not familiar with the code necessary for this type of thing. I've looked at the code for the old hangable maps mod, but it's kind of old, and I don't know enough about it to convert to 1.3.
From what I've seen of the snapshots, the maps end up being way too small in the frames, so I will want to make them hangable separate from them.
I stated the answer to you second question in the first post, but no, it is not compatible with SMP (the recipes don't work), though it works fine on LAN.
Oh, now this is a cool mod. I love utility mods that improve already existing Minecraft features, rather than just add new things or completely change core mechanics. I'm going to make a spotlight of this, just summarizing what you've said above with graphics and such. Hope you don't mind!
About the map number thing, I think that might be a problem with shift clicking maps from the grid. I might have a look at that to see if I can do something about it, but until then I'll just put a note in the Known Issues.
Just thinking here, but I could probably add something (paper maybe? I don't know...) to the recipes so that they have to be made on the crafting table, so you can't use the 2x2 in your inventory.
I will also look at making an SMP version, if it's not too complicated.
I must ask though, what are you planning to once 1.4 comes around? I believe it has similar features to this mod (map alignment and such).
Yeah, I've played around in the snapshots and I have to say I don't really like having the maps you make not center on you. I'll probably just disable that system and make it work like it does now, centering on you.
Also, I'm not sure how I feel about the scaling system I've seen so far in the snapshots, so I may be making some changes there, but I'll wait to see how they turn out in the actual release.
This mod makes improvements to the vanilla maps.
Features
Have you ever been exploring with a map, gotten to the edge, and wished you could just make another one with a matching edge? Have you ever been annoyed because you had to instead estimate where the center would be, go there to make a new map, and have to explore back the way you came just to fill out where you'd already been? Well, I have, and so I made this mod, which adds recipes to overwrite existing maps and make them line up with another one. (I also added diagonal recipes in 2.0, but I don't feel like adding more screenshots ) This also means that with this mod, you have a way to recycle old maps that are redundant, or turned out wrong, or are of locations you don't care about anymore.
Each recipe overwrites the data of the map to the side of the center one, and makes its center a map-length away on the respective side. All other attributes, like dimension(overworld/nether/end) and scale(zoom level), are inherited from the center map. The center map is not consumed in these recipes; it stays in the crafting grid. One thing you should keep in mind is that you can not craft duplicate maps together, as it doesn't really make sense to try to align a map with itself. And I know that these recipes look like just two recipes in different spots in the crafting table, but I'm not using the standard recipe creation method for these recipes. The criteria for recognizing valid map connection recipes is in its own file, just like the vanilla map duplication recipes (which is actually the example I was able to follow to do this). Also, even though they are small enough to fit in the 2x2 grid, they won't show up there, and can only be done on the crafting table.
Maps in item frames are rendered bigger than before, and take up the whole block, hiding the item frame itself behind the map. (Picture below)
In 1.4, maps no longer center on you when you start them, but I reverted this change, since this mod provides a better alternative for aligning maps.
If you don't like these last two changes, they can be removed by not installing the base classes they reside in. See the Compatibility section below.
Here are some pictures of the resulting maps:
(!Disclaimer! These maps are actually in item frames: they are not hanging by themselves. I just made them render bigger than they used to)
This mod does not change the way maps are crafted initially.
---
Here's a video by inawordnope spotlighting a Minecraft-1.3.2 version of the mod:
---
Known Issues
First, install either ModLoader or Forge, depending on which version you want to use, and then simply drop the contents of the zip file into minecraft.jar, overwriting existing classes. As BetterMaps modifies base classes, you can't drop it in the mods folder.
You must install BetterMaps after ModLoader or Forge, as BetterMaps modifies some of the same classes as them. You will be overwriting ModLoader/Forge classes, but I coded my changes on top of theirs, so nothing should be lost. Besides, it's always a good idea to install your APIs before your other mods anyway.
not so Important anymore: If you are updating to version 1.2 of the mod from a previous version, you won't be able to just install over the previous version, as I've stopped modifying base classes in 1.2. You will have get a clean jar (or restore clean copies of Item.class and ItemStack.class) before installing in this case. It will probably crash if you don't. (it might, it might not. I haven't tested it.)
Compatibility
The current version of BetterMaps modifies the following base classes; any other mod that modifies these classes will not be compatible. This applies to both the Forge and ModLoader versions.
[ML] = also modified by Modloader
[F] = also modified by Minecraft Forge
* = optional files : if you don't install these modified base classes, the mod will still work fine, but the changes made in these classes will obviously not be there.
Download
BetterMaps-2.2-ML for Minecraft 1.5.1 with Modloader
(I am no longer maintaining a forge version)
BetterMaps-2.1-ML for Minecraft 1.4.7 with Modloader
(I am no longer maintaining a forge version)
---
BetterMaps-2.0-ML for Minecraft 1.4.2 with ModLoader
BetterMaps-2.0-forge for Minecraft 1.4.2 with Minecraft Forge 6.0.1.349
---
BetterMaps-1.2-ML for Minecraft 1.3.2 with ModLoader
BetterMaps-1.2-forge for Minecraft 1.3.2 with Minecraft Forge
---
BetterMaps-1.0-ML for Minecraft 1.2.5 with ModLoader
Changelog
v2.2
-Updated the mod to Minecraft 1.5.1
v2.1
-Updated the mod to Minecraft 1.4.7
v2.0
-Updated the mod to Minecraft 1.4.2
-Removed map duplication recipe and map number tooltip, since these were added in vanilla Minecraft.
-Made maps center on you again when you start them, instead of snapping to a grid.
-Made maps in item frames render bigger so that they take up the full block, hiding the item frame behind the map.
-Changed the way the recipes work in the code. The in-game implications of this are as follows:
-+They can now only be done on the crafting table
-+Added diagonal map connection recipes since the code change made it easier to add them in than to leave them out
-+Made the center map only stay in the grid when using the connection recipes, so that you can't get free maps when using the vanilla map duplication recipe in a crafting table with a map in the center slot.
-+Made it so you can't use duplicate maps (maps with the same number) in the map connection recipes, as being able to do so just felt kind of weird.
v1.2
-Refactored code to stop editing Item.class and ItemStack.class
v1.1
-Updated the mod to Minecraft 1.3.2
v1.0
-Initial release
To do list:
its a great idea, been tossed around many many times, its just that it almost always modifies base class's, and everyone knows, anything that modifies base class's, isnt ever used at all(besides forge, modloader, anything with API or NEI or TMI...)
No new features since last time, just updated.
There's an old mod that's been apparently abandoned by the creator called Hangable Maps, which did seemingly everything you've done, plus the ability to place maps on blocks - so you can create large maps that are hung on walls or placed on a table! Never got a response from the PM I sent the creator to see if they had any intention of updating it, so I imagine the mod's free game these days.
I agree. I was looking for a mod like that, but ended up finding this mod.
I'm not sure is this the mod you talked about:
http://forum.minecraftuser.jp/viewtopic.php?f=13&t=5422
That mod has the extra feature to duplicate map, but not like this mod can create maps beside another map.
Thanks!
I've added a Forge compatible version, though it still modifies all the same base classes since Forge didn't have the hook I had to put in to make this mod work. I haven't tested it with other Forge mods, but as long as they don't modify the same classes, there shouldn't be any problems.
Correct. The original, English thread is at http://www.minecraftforum.net/topic/961798-11-hangable-maps-v11-smp/
Basically the mod was designed to automatically draw maps in such a way that they could be tiled together to create one very large map when placed on blocks, and they basically seemed to function the same as paintings as far as placing them onto blocks, though each individual map was always just a separate 1x1, of course.
Mostly the only behavior I'd like to see added to this mod is the ability to place maps onto blocks; everything else from the Hangable Maps mods is present, and frankly in a way I prefer (being able to choose which side the map starts on through crafting, etc.)
I just miss being able to make map tables and stuff
"Look at me still talking when there's science to do. When I look out there it makes me glad I'm not you."
For those who care: The onCreated method is passed a player object, and I found out that I could access the current crafting grid being used by the player from this object, instead of passing it down from SlotCrafting.class through Item and ItemStack like I previously was. I still have to edit SlotCrafting to make the center map stay in the grid though.
However, this means that you can't install this version over old ones, since the previously modified base classes will still be there, and will likely cause a crash. You will have to get a clean jar, or just replace Item.class and ItemStack.class with clean ones, before installing this version if you are updating from a previous one.
Glad to hear it. Fewer edited base classes is never a bad thing
From what I've seen of the snapshots, the maps end up being way too small in the frames, so I will want to make them hangable separate from them.
I stated the answer to you second question in the first post, but no, it is not compatible with SMP (the recipes don't work), though it works fine on LAN.
Check us out on YouTube!
I must ask though, what are you planning to once 1.4 comes around? I believe it has similar features to this mod (map alignment and such).
Check us out on YouTube!
About the map number thing, I think that might be a problem with shift clicking maps from the grid. I might have a look at that to see if I can do something about it, but until then I'll just put a note in the Known Issues.
Just thinking here, but I could probably add something (paper maybe? I don't know...) to the recipes so that they have to be made on the crafting table, so you can't use the 2x2 in your inventory.
I will also look at making an SMP version, if it's not too complicated.
Yeah, I've played around in the snapshots and I have to say I don't really like having the maps you make not center on you. I'll probably just disable that system and make it work like it does now, centering on you.
Also, I'm not sure how I feel about the scaling system I've seen so far in the snapshots, so I may be making some changes there, but I'll wait to see how they turn out in the actual release.
Since you overwrite one of Forge's class's is BM still compatible with recent versions of Forge?