The Meaning of Life, the Universe, and Everything.
Join Date:
2/6/2014
Posts:
63
Member Details
AutoWalkLanPortStacksize
I made the following MOD for my own use, but I'm sharing it if anyone else wants these updates. This is either for the 1.7.10 version of minecraft and requires at least 10.13.+ version of forge to work or 1.6.4 version of minecraft (may be good for any 1.6+ version) and requires the 9.10.+ version of forge to work.
The full mod adds Auto walk key, custom LAN port, changes stacksize to 64 for several items, along with a lot of other stuff. See the Description below for further details on everything it contains. I have also included the smaller partial mods if you only want one part of this.
Description:
Adds a key for AutoWalk ("F" default but can be changed in the controls GUI).
Can change the AutoWalk to walk or sprint via the AutoWalkLanPortStacksize.cfg file
Can also toggle this by typing chat message "autosprint", but this only works locally and not for network games.
To stop walking, press the walk key or AutoWalk key. AutoWalk also keeps player moving even if gui open (1.7.10 only)
Changes the LAN port to be configurable.
Setting it to 0 disables this feature.
Default is 54321.
Changes the Stacksize of various items to 64 (configurable with max of 64). Setting to 0 disables the stacksize feature. The following items are defaulted to be stackable to the new number but this can be configured via the list on the cfg file. Other mod items can be added to this as well, but require mod's registered item name.
Eggs
Boats
Minecarts
Saddles
Horse armor (iron, gold, and diamond)
Potions
Snowballs
Enderpearls
Doors (wood and iron)
Enchanted books *
Soup
Buckets of Milk
Adds config to remove several enchantments that I found frustrating and useless, but you can re-enable if you want.
Bane of Arthropods
(disabled by default)
Smite (disabled by default)
Projectile Protection (disabled by default)
Blast Protection (disabled by default)
Knockback (enabled by default)
Add more power to the OPs (or host) to disable several minecraft cheats/commands. This can be done from either from the config file or with the command.
OP can type "/togglecmd" to re-enable commands or disable them again
The full list of disabled commands is configurable via the cfg file. Also any player can type "listcmd" as chat message to see what is disabled.
OP can type commands /enablecmd and /disablecmd to add or remove single commands too.
Bats drop bones (set betterMobDrops to false to disable)
Wither Skeletons drop their skulls more often if using weapon with Looting I, II, or III. Not much of an increase but a little. (set betterMobDrops to false to disable)
Ghasts can drop tears more often (set betterMobDrops to false to disable)
Diamond can be crafted using Ghast tear in the middle with 4 Redstone surrounding it. Not sure if this is worth it since Ghast tears are pretty hard to collect. But now there is more incentive to getting them besides just regen potions. (set enableDiamondRecipe to false to disable)
Added cheat chat message "sharp2eff" to change sharpness enchantment to efficiency Must be typed as a chat message to work while holding Item with sharpness. (For the weird mods that somehow allow sharpness on an Axe, this command is useful to switch that).
Added command "/2book" to remove enchants from an undamaged enchanted item and move them to a book. Must be typed as a command while holding Item with enchantments and having at least one empty book in inventory. (1.7.10 version only). [1.6.4 version has fortune2book and silktouch2book chat commands]. ( This consumes the book and the undamaged item)
Add summon command (1.6.4 only) and msummon (1.7.10) for summoning groups of mobs.
Made the anvil cost for repairing a lot cheaper (percent change can be modified via config file anvilCostPercent)
Better villager trading prices with a few new selling and buying trades. ( also configurable)
Bonemeal works on leaves growing more leaves around it. Grown leaves will still disappear if not near a tree branch)
Chance for Giant Zombie to spawn. Only in deserts, extreme hills, and jungles. (Can be disabled via config file)
Ability to pickup monster arrows (set useableSkeletonArrows to false to disable)
Flame bows have their fire arrows set blocks on fire (set flameArrowsBurnBlocks to false to disable)
Added a flame book recipe. [To create flame book = 3 fire stones + 1 book] [To create a fire stone = 5 random enchanted books + fire charge + flint&steel + redstone + diamond] (set enableFlameBook to false to disable)
Added more food to the starting bonus chest (set onlyFoodInBonusChest to false to disable)
Added a /fill command for creative mode (can create pyramids, mountains, boxes, and random hill shapes)
Added new gamerules "respawnHungry". When you respawn, your hungry remains the same. The gamerule "keepInventory" does not prevent this.
Added new gamerules "dropFullExpOnDeath". When you die, your full exp is dropped on the ground instead of just a portion of what you had. The gamerule "keepInventory" does not prevent this.
There are a few more options I have in the AutoWalkLanPortStacksize.cfg file. Most settings are only needed server side only. The new gamerules (respawnHungry, dropFullExpOnDeath, betterMobDrops, and flameArrowsBurnBlocks) can be toggled via the "/gamerule" command. Although whenever the game is restarted, the config file will always set the initial value.
Full Mod (autowalklanportstacksize contains everything)
Old links (to minecraft 1.6.4 version and my older 1.7.10 versions of the mod ): http://1drv.ms/1J3yyV9
Instructions:
Copy the file (example autowalklanportstacksize-1.7.10-1.4.jar) to your mods folder (created by forge)
Edit the AutoWalkLanPortStacksize.cfg in the config directory if you want to change anything.
NOTES / Existing "bugs":
* Enchanted books don't always stack nicely. Of course only certain enchantmented books can stack, like sharpness 1 can stack with other sharpness 1s. But sometimes you have to put them into a chest, close the chest, and re-open the chest to stack those two books. Adding other mod items to the stacksize requires the exact mod's item name. For example "modname:item_name". If you don't know what the mod item name is, you can look at the fml-client-latest.log and search for the text "Registry add: <item name here>" after starting minecraft with that mod once. Copy that item name with the mod name into the Stacksize.cfg to change that item's stacksize.
All these commands (autosprint, sharp2eff, fortune2book, silktouch2book) must be entered as a chat message to work. They are not minecraft commands (i.e. do not type "/sharep2eff").
If you disable enchantments on a pre-existing world, make sure to NEVER place an item with one of those removed enchantments onto a Anvil. This WILL CRASH YOUR GAME! Best to destroy those items before removing the enchantments (i.e. re-enable them or wait to put the mod on).
EXAMPLE: I have a sword with smite II on it. I add this mod and set the disableSmite to TRUE. Now I re-enter my game and my sword shows that it is enchanted, but it does not have anything on it. If I add the sword to an Anvil it will crash my game.I have used this mod with several other mods, so it should be compatible with most mods.
I like it, though I probably won't use it, seeing as it feels a little more cheaty than for example, the autodisenchanter. Also, I suggest making the recipe for the diamonds harder to obtain. I've always found ghast tear collection easy, and it can certainly be abused with mods that add automatized mob spawning. Besides that, nice work!
Really like the idea of the customize-able stack size, but already have another mod that do custom LAN ports (and other options for LAN things) along with a few enchanting style mods.
Also I don't see it mentioned above, but what about water bottles?
hello
i was wonderring if you could do so when autowalking you continues to walk even though you opened a chest,crafingtable, etc?
Hmm, I will look into that. I think I dismissed this because I didn't want to walk off an edge with a GUI open.
But now that I think about it, I can see the advantage of opening your inventory while walking.
Really like the idea of the customize-able stack size, but already have another mod that do custom LAN ports (and other options for LAN things) along with a few enchanting style mods.
Also I don't see it mentioned above, but what about water bottles?
A lot of the features I tried to make toggle-able, so you can pick and choose what you want changed. It should all be in the config file, but I could upload a config that has everything off by default so that it is closer to vanilla minecraft.
If it is conflicting with your other LAN port mod, you could modify this jar and edit the meta file inside (can't recall where that is located) to not load the "MattsFMLLoadingPlugin" (i.e. remove that line from the file).
If the meta file doesn't load that class, then those parts of the mod do nothing and it disables the custom LAN port code without modifying the rest of the mod. Let me know if that makes sense?
And yes, the potions are stack-able, which includes the water bottles and empty bottles.
The Meaning of Life, the Universe, and Everything.
Join Date:
2/6/2014
Posts:
63
Member Details
For disabling the LAN port, just remove the last two lines from the MANIFEST.MF file located in the jar under META-INF directory. That way forge won't load the plugin and the LAN code won't be touched by my mod.
I also added a config file that has all the settings disabled such that it's as close to vanilla minecraft.
Hmm, I will look into that. I think I dismissed this because I didn't want to walk off an edge with a GUI open.
But now that I think about it, I can see the advantage of opening your inventory while walking.
I wish you would release one that only does the auto walk. I don't need any of the other stuff.
I will see if I can split this mod for the 1.7.10 version and make a AutoWalk mod and maybe a Stacksize one too.
The AutoWalk mod would be a client only mod and only include #1 from my description.
The Stacksize mod would have to be for server and client and only include #3 from my description.
Am I allowed to use it in a modpack if I dont make money of it and credit you and link back to you?
-Mrbysco
Rollback Post to RevisionRollBack
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Also.. I wanna configure it to be only stacking the milk buckets... Is that possible?
Rollback Post to RevisionRollBack
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Also.. I wanna configure it to be only stacking the milk buckets... Is that possible?
Currently the different items are not configurable to be stackable. All the items mentioned become stackable up to 64.
Just curious, why would you only want milk buckets? Would you want it for empty buckets, water buckets, and lava buckets too?
I could easily add a configuration for each item, but then your clients would need that same config file or there would be server/client funnyness when clients stack items that aren't suppose to be stackable. I've done this before, and it is fine. The server just auto-unstacks items in the client's inventory.
Another solution would be I just make a smaller sub-mod for you with the link to the mod that only has the items you want stackable?
Let me know what you'd prefer.
Here is the current list of items that I made stackable in the mod:
Also.. I wanna configure it to be only stacking the milk buckets... Is that possible?
Currently the different items are not configurable to be stackable. All the items mentioned become stackable up to 64.
Just curious, why would you only want milk buckets? Would you want it for empty buckets, water buckets, and lava buckets too?
I could easily add a configuration for each item, but then your clients would need that same config file or there would be server/client funnyness when clients stack items that aren't suppose to be stackable. I've done this before, and it is fine. The server just auto-unstacks items in the client's inventory.
Another solution would be I just make a smaller sub-mod for you with the link to the mod that only has the items you want stackable?
Let me know what you'd prefer.
Here is the current list of items that I made stackable in the mod:
Currently the different items are not configurable to be stackable. All the items mentioned become stackable up to 64.
Just curious, why would you only want milk buckets? Would you want it for empty buckets, water buckets, and lava buckets too?
I could easily add a configuration for each item, but then your clients would need that same config file or there would be server/client funnyness when clients stack items that aren't suppose to be stackable. I've done this before, and it is fine. The server just auto-unstacks items in the client's inventory.
Another solution would be I just make a smaller sub-mod for you with the link to the mod that only has the items you want stackable?
Let me know what you'd prefer.
Here is the current list of items that I made stackable in the mod:
mushroom_stew
egg
boat
minecart
saddle
potionitem
snowball
ender_pearl
wooden_door
iron_door
diamond_horse_armor
iron_horse_armor
golden_horse_armor
enchanted_book
sign
bucket
water_bucket
milk_bucket
lava_bucket
cake
bed
Yes, you can use any of the mods in a modpack. That is fine with me.
Nm I already found something but the reason I wanted stackable milk is that I got a japanese mod called SweetHome mod. And it basically adds Dough you can smelt into cake blocks so you can make a house out of cake... And having an inventory full of milk buckets is annoying.
Rollback Post to RevisionRollBack
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Exactly what I was looking for with autowalk, except it seems a bit odd, it only works when I go to menu, open inventory, or open chat. And then I can't make it stop auto-walking till I close whatever I have open (like chat or ui things). I'm using the Infinity 1.2.0 mod pack from Feed The Beast, and I added this for server use, because I tend to need to travel great distances at a time to place markers, so I like going AFKish to do other things while auto-running. For my needs right now, it fits and works great! However, it seems once I'm done, I'll have to remove the mod, since I can't toggle it off to make it stop making me move any time I open a chest, chat, or interact with something that pulls up a UI screen. I have the autowalk-1.7.10-1.0 and FML 7.10.85.1291.
I figured I'd report this bug, even though this mod is still fitting my exact needs right now! Thanks!
Exactly what I was looking for with autowalk, except it seems a bit odd, it only works when I go to menu, open inventory, or open chat. And then I can't make it stop auto-walking till I close whatever I have open (like chat or ui things). I'm using the Infinity 1.2.0 mod pack from Feed The Beast, and I added this for server use, because I tend to need to travel great distances at a time to place markers, so I like going AFKish to do other things while auto-running. For my needs right now, it fits and works great! However, it seems once I'm done, I'll have to remove the mod, since I can't toggle it off to make it stop making me move any time I open a chest, chat, or interact with something that pulls up a UI screen. I have the autowalk-1.7.10-1.0 and FML 7.10.85.1291.
I figured I'd report this bug, even though this mod is still fitting my exact needs right now! Thanks!
Glad it is working for you!
FYI, the autowalk mod is only needed client-side. In other words, you can play on servers without the mod and be able to auto-walk. But that is besides the point...
Anyways, I think I see what you mean with the GUI... if you are moving forwards while opening a GUI (after pressing the auto-walk key), the mod keeps you moving forward as long as the GUI is open. I made that enhancement awhile back to keep auto-walking with GUIs being opened. But I should put an optional toggle whether you want to auto-walk with GUIs open. Thanks for catching that!
AutoWalkLanPortStacksize
I made the following MOD for my own use, but I'm sharing it if anyone else wants these updates. This is either for the 1.7.10 version of minecraft and requires at least 10.13.+ version of forge to work or 1.6.4 version of minecraft (may be good for any 1.6+ version) and requires the 9.10.+ version of forge to work.
The newer AutoWalk versions can be found here http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2484586-autowalk.
The newer Stacksize versions can be found here http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2714960-stacksize
The full mod adds Auto walk key, custom LAN port, changes stacksize to 64 for several items, along with a lot of other stuff. See the Description below for further details on everything it contains. I have also included the smaller partial mods if you only want one part of this.
Description:
Full Mod (autowalklanportstacksize contains everything)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBWWJDbnR0Z0lDSFU
Autowalk (just #1 from description)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBVDlkaThYTVcwT1E
Custom LAN Port (just #2 from description)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBYWpZbmdOekhfbFE
Stacksize (just #3 from description)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBaXdYNGZzU3FtVE0
CheaperAnvil (just #13 from the description)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBSTFnSmo5bkVCN3M
FIreArrows (From description #18, #19, and #20)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBYmZyUnVwX3dXR2s
NewGamerules (From description #6, #7, #8, #23, and #24)
https://drive.google.com/uc?export=download&id=0ByFT84clijjBeWFsTHk0VUFSU1U
Old links (to minecraft 1.6.4 version and my older 1.7.10 versions of the mod ):
http://1drv.ms/1J3yyV9
Instructions:
NOTES / Existing "bugs":
All these commands (autosprint, sharp2eff, fortune2book, silktouch2book) must be entered as a chat message to work. They are not minecraft commands (i.e. do not type "/sharep2eff").
If you disable enchantments on a pre-existing world, make sure to NEVER place an item with one of those removed enchantments onto a Anvil. This WILL CRASH YOUR GAME! Best to destroy those items before removing the enchantments (i.e. re-enable them or wait to put the mod on).
EXAMPLE: I have a sword with smite II on it. I add this mod and set the disableSmite to TRUE. Now I re-enter my game and my sword shows that it is enchanted, but it does not have anything on it. If I add the sword to an Anvil it will crash my game.I have used this mod with several other mods, so it should be compatible with most mods.
Really like the idea of the customize-able stack size, but already have another mod that do custom LAN ports (and other options for LAN things) along with a few enchanting style mods.
Also I don't see it mentioned above, but what about water bottles?
Hmm, I will look into that. I think I dismissed this because I didn't want to walk off an edge with a GUI open.
But now that I think about it, I can see the advantage of opening your inventory while walking.
A lot of the features I tried to make toggle-able, so you can pick and choose what you want changed. It should all be in the config file, but I could upload a config that has everything off by default so that it is closer to vanilla minecraft.
If it is conflicting with your other LAN port mod, you could modify this jar and edit the meta file inside (can't recall where that is located) to not load the "MattsFMLLoadingPlugin" (i.e. remove that line from the file).
If the meta file doesn't load that class, then those parts of the mod do nothing and it disables the custom LAN port code without modifying the rest of the mod. Let me know if that makes sense?
And yes, the potions are stack-able, which includes the water bottles and empty bottles.
I also added a config file that has all the settings disabled such that it's as close to vanilla minecraft.
https://onedrive.live.com/redir?resid=2CFF725631865167!136&authkey=!APjkQmVWjA2LSMc&ithint=file,cfg
And then drop that config into the %appdata%/.minecraft/config/
Solved and uploaded new version
I will see if I can split this mod for the 1.7.10 version and make a AutoWalk mod and maybe a Stacksize one too.
The AutoWalk mod would be a client only mod and only include #1 from my description.
The Stacksize mod would have to be for server and client and only include #3 from my description.
I split my mod into a bunch of smaller mods. So there is one for just Autowalk now
Am I allowed to use it in a modpack if I dont make money of it and credit you and link back to you?
-Mrbysco
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Currently the different items are not configurable to be stackable. All the items mentioned become stackable up to 64.
Just curious, why would you only want milk buckets? Would you want it for empty buckets, water buckets, and lava buckets too?
I could easily add a configuration for each item, but then your clients would need that same config file or there would be server/client funnyness when clients stack items that aren't suppose to be stackable. I've done this before, and it is fine. The server just auto-unstacks items in the client's inventory.
Another solution would be I just make a smaller sub-mod for you with the link to the mod that only has the items you want stackable?
Let me know what you'd prefer.
Here is the current list of items that I made stackable in the mod:
Yes, you can use any of the mods in a modpack. That is fine with me.
Currently the different items are not configurable to be stackable. All the items mentioned become stackable up to 64.
Just curious, why would you only want milk buckets? Would you want it for empty buckets, water buckets, and lava buckets too?
I could easily add a configuration for each item, but then your clients would need that same config file or there would be server/client funnyness when clients stack items that aren't suppose to be stackable. I've done this before, and it is fine. The server just auto-unstacks items in the client's inventory.
Another solution would be I just make a smaller sub-mod for you with the link to the mod that only has the items you want stackable?
Let me know what you'd prefer.
Here is the current list of items that I made stackable in the mod:
Yes, you can use any of the mods in a modpack. That is fine with me.
Nm I already found something but the reason I wanted stackable milk is that I got a japanese mod called SweetHome mod. And it basically adds Dough you can smelt into cake blocks so you can make a house out of cake... And having an inventory full of milk buckets is annoying.
Gamer, Minecraft Mod Developer, Creator of many mods that can be found in my CurseForge profile. (Helped port Grimoire of Gaia to 1.8.9 and helped getting a 1.12.2 version going)
Exactly what I was looking for with autowalk, except it seems a bit odd, it only works when I go to menu, open inventory, or open chat. And then I can't make it stop auto-walking till I close whatever I have open (like chat or ui things). I'm using the Infinity 1.2.0 mod pack from Feed The Beast, and I added this for server use, because I tend to need to travel great distances at a time to place markers, so I like going AFKish to do other things while auto-running. For my needs right now, it fits and works great! However, it seems once I'm done, I'll have to remove the mod, since I can't toggle it off to make it stop making me move any time I open a chest, chat, or interact with something that pulls up a UI screen. I have the autowalk-1.7.10-1.0 and FML 7.10.85.1291.
I figured I'd report this bug, even though this mod is still fitting my exact needs right now! Thanks!
Glad it is working for you!
FYI, the autowalk mod is only needed client-side. In other words, you can play on servers without the mod and be able to auto-walk. But that is besides the point...
Anyways, I think I see what you mean with the GUI... if you are moving forwards while opening a GUI (after pressing the auto-walk key), the mod keeps you moving forward as long as the GUI is open. I made that enhancement awhile back to keep auto-walking with GUIs being opened. But I should put an optional toggle whether you want to auto-walk with GUIs open. Thanks for catching that!
Good catch!
Looks like there are a few broken things with the lava and water buckets that I missed.
I'll see if I can find a solution soon and upload a fixed stacksize mod
Fixed and uploaded Stacksize 1.1