The Meaning of Life, the Universe, and Everything.
Join Date:
2/12/2013
Posts:
312
Minecraft:
BobaDaKing
Xbox:
BobaDaKing
Member Details
Howdy y'all! I'm fairly well known as a PE map-maker, (I even had one of my maps ) but now I'm gonna start making/sharing mods!
Story:
Here's the idea behind this one:
Everybody loves budder. (Or "gold" for y'all who aren't in the groove... ) Anyways, it's just plain exciting to see that beautiful yellow gleam deep within the depths of our wonderful blocky earth. But... what can you do with it? Well, I guess if you have a ton you could build a nether reactor, but suppose you've mined all you can stand, but you've just got enough for a few tools. You worked long and hard to find this rare joy, but it's so short-lived! As we all know, budder tools break soon and easily. For this long and elaborate purpose I devised...
Better Budder!
This mod adds extremely enhanced power and value to items made of budder: (All tools are "tap to use") Budder Axe: Treecapitation! (I coded my own version, concept by others. This works recursively in any cardinal direction! Try it on a sideways tree...)
Budder Sword: Knockback 5! Nuff said.
Budder Shovel: Mines a 3x3x3 cube through soft material! (Sand, gravel, clay) Does not add items to inventory. Handy for clearing large spaces!
Budder Pick: Insta-mine/silk-touch!
Budder Hoe: Possibly the most fun of all: when used on dirt, plants a 5x5 watered wheat farm!
Budder Ingot: Extremely useful! Tap a Budder Block with a Budder Ingot to create a wormhole, sucking the Budder Block through time and space... Then tap somewhere else to exchange places with the trans-dimensional Budder Block, making it reappear at your current location and teleporting back to the original place! In development: use on mobs!
This mod is 100% Un-tested as I prematurely updated to 0.7.3. So please, test it out and give me feedback! As this mod is still under development, you can hit anything with a stick to get all the testable items in your inventory. If you have any comments or suggestions, don't hesitate to let me know!
A few things could be improved in this script:
-Syntax error: You are missing one of these: } -I looked at the code, and it looks like you are missing one on line 83.
-The } is needed on line 50, otherwise the script doesnt work properly.
-Also, the parameters of the function useItem are slightly wrong.
-You wrote:
function useItem(x,y,z,blockId,itemId,side)
-This needs to be:
function useItem(x,y,z,itemId,blockId,side)
-addItemInventory needs to include the amount, eg:
addItemInventory(blockId,1)
-If the amount isn't there, the item/block that got added to your inventory will be non-existent.
Many thanks,
Connor4898
Thanks! A fresh set of eyes always helps on new code.
Edit: Fixed! It should work now.
Edit2: I also forgot to add a preventDefault(); for the hoe functionality, but it's in there now!
Budder? Isn't that just gold or butter? Idk
Congrats on your first mod, but maybe making a .js file for android could be better.
Hey, I declare it Budder and Budder it shall be!
Not my first, (just the first that I'm sharing) but thanks!
I don't have an android device, but if someone wants to port this (if it needs it) that's fine by me!
Rollback Post to RevisionRollBack
"There is no greater good than Justice; and only if law serves Justice is it a good law."
I don't think the "budder" ingot works properly...
It does nothing after tapping a gold block.
Hmm... The teleporter (and knockback 5) was the one part I had tested (albeit, in another of my mods, but it's relatively the same code) before updating. I'll take a look at it though...
Hmm... I'm not seeing anything wrong with it. Here's a video that shows how it worked in previous versions:
The "wormhole" teleports you (or a mob) to the coordinates of the selected gold block. To get all the items to test, hit anything with a stick.
All works fine and I like the shovel but can you make it work with grass,stone,ores too? I wanna make a cave using the budder shovel hahaha...
And after I hit the budder block with the ingot what do I do next? sry for nubbish question
All works fine and I like the shovel but can you make it work with grass,stone,ores too? I wanna make a cave using the budder shovel hahaha...
And after I hit the budder block with the ingot what do I do next? sry for nubbish question
Woohoo! I'm very glad It's working out!
Does the shovel not work with grass? It should... I'll get on that. As far as increasing the functionality of the shovel, I'm pretty comfortable with how it is now, power-level-wise that is. I don't want my mods to be overpowered, and I think It's pretty balanced now as far as cost-to-worth ratio. I will be coming out with an "Easy-Build" mod which will do exactly what you suggested, among other things, but it will be optimized for creative mode.
Hey, someone once told me "there's no such thing as a silly question!" To teleport back to your original location, just hit the top of any block with the ingot! (At least it should be the top... I'm pretty sure that the "side" variable for "top" is 0, but just to be sure could you test it for me on various block sides? Thanks in advance!
Any chance you could put a link to the .js file please?
Erm... there's no file to link to. I wrote it up in notepad and pasted it into Treebl's online script editor. I can give the source code if you'll agree to not distribute it.
Rollback Post to RevisionRollBack
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Erm... there's no file to link to. I wrote it up in notepad and pasted it into Treebl's online script editor. I can give the source code if you'll agree to not distribute it.
Nice ill try that later... Can you make it work with stone too? since i'll come across with stones when I make my cave
I could... But I won't. Just because: it doesn't make sense! Shovels can't dig through rock in normal minecraft, why should they in a survival-mod? However, once I release Easy-Build, there will be a tool like you've described to assist with tunneling.
Rollback Post to RevisionRollBack
"There is no greater good than Justice; and only if law serves Justice is it a good law."
I could... But I won't. Just because: it doesn't make sense! Shovels can't dig through rock in normal minecraft, why should they in a survival-mod? However, once I release Easy-Build, there will be a tool like you've described to assist with tunneling.
Hahaha I know it doesn't make sense xD its ok i'll just use the budder pickaxe for that
Rollback Post to RevisionRollBack
>>>>>>>>>>>Want some AWESOME stuff for Android? Check my YouTube Channel Below<<<<<<<<<<<
<---------------------------------->
To post a comment, please login or register a new account.
Story:
Everybody loves budder. (Or "gold" for y'all who aren't in the groove...
Better Budder!
This mod adds extremely enhanced power and value to items made of budder: (All tools are "tap to use")
Budder Axe: Treecapitation! (I coded my own version, concept by others. This works recursively in any cardinal direction! Try it on a sideways tree...)
Budder Sword: Knockback 5! Nuff said.
Budder Shovel: Mines a 3x3x3 cube through soft material! (Sand, gravel, clay) Does not add items to inventory. Handy for clearing large spaces!
Budder Pick: Insta-mine/silk-touch!
Budder Hoe: Possibly the most fun of all: when used on dirt, plants a 5x5 watered wheat farm!
Budder Ingot: Extremely useful! Tap a Budder Block with a Budder Ingot to create a wormhole, sucking the Budder Block through time and space... Then tap somewhere else to exchange places with the trans-dimensional Budder Block, making it reappear at your current location and teleporting back to the original place! In development: use on mobs!
This mod is 100% Un-tested as I prematurely updated to 0.7.3.
Better Budder ScriptID: 9069
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Thanks! A fresh set of eyes always helps on new code.
Edit: Fixed! It should work now.
Edit2: I also forgot to add a preventDefault(); for the hoe functionality, but it's in there now!
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Hey, I declare it Budder and Budder it shall be!
Not my first, (just the first that I'm sharing) but thanks!
I don't have an android device, but if someone wants to port this (if it needs it) that's fine by me!
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Hmm... The teleporter (and knockback 5) was the one part I had tested (albeit, in another of my mods, but it's relatively the same code) before updating. I'll take a look at it though...
Hmm... I'm not seeing anything wrong with it. Here's a video that shows how it worked in previous versions:
"There is no greater good than Justice; and only if law serves Justice is it a good law."
"There is no greater good than Justice; and only if law serves Justice is it a good law."
The "wormhole" teleports you (or a mob) to the coordinates of the selected gold block. To get all the items to test, hit anything with a stick.
"There is no greater good than Justice; and only if law serves Justice is it a good law."
All works fine and I like the shovel but can you make it work with grass,stone,ores too? I wanna make a cave using the budder shovel hahaha...
And after I hit the budder block with the ingot what do I do next? sry for nubbish question
Woohoo! I'm very glad It's working out!
Does the shovel not work with grass? It should... I'll get on that. As far as increasing the functionality of the shovel, I'm pretty comfortable with how it is now, power-level-wise that is. I don't want my mods to be overpowered, and I think It's pretty balanced now as far as cost-to-worth ratio. I will be coming out with an "Easy-Build" mod which will do exactly what you suggested, among other things, but it will be optimized for creative mode.
Hey, someone once told me "there's no such thing as a silly question!" To teleport back to your original location, just hit the top of any block with the ingot! (At least it should be the top... I'm pretty sure that the "side" variable for "top" is 0, but just to be sure could you test it for me on various block sides? Thanks in advance!
I sure did!
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Thanks! And your
No download necessary! You just need to install Treebl's ModPE then enter the script ID. Thank you too for the
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Budder Shovel now (should) work on: Grass, Dirt, Sand, Gravel, Clay.
Testers?
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Erm... there's no file to link to. I wrote it up in notepad and pasted it into Treebl's online script editor. I can give the source code if you'll agree to not distribute it.
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Example:https://www.dropbox.com/s/zy3f58tomsvm2r7/BETTER%20BUDDER%21.js
Nice ill try that later... Can you make it work with stone too? since i'll come across with stones when I make my cave
I could... But I won't.
"There is no greater good than Justice; and only if law serves Justice is it a good law."
Hahaha I know it doesn't make sense xD its ok i'll just use the budder pickaxe for that