1.5.1 Mob Tools

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Pauljoda

New Member
Jul 29, 2019
97
0
0
Mob Tools
DbAVP5a.jpg
Mob Tools is a mod based around the idea of creating uses for mob drops. It adds many tools and armor and a few special items such as the omnitool and 4 magical wands.


qocy4GK.png


Each of these tool sets has a special property.
  • Creeper-Extremely fast but very low durability
  • Ender- About as good as iron but much more durable, boots remove fall damage
  • Spider- highly enchantable, three in a vertical row crafts six books
  • Blaze-between iron and diamond, sword has fire aspect and helmet lets you walk in fire and lava
jyeUVr4.png


On the left is the OmniTool. It is every tool in one and is crafted as such

nODssXq.png


The middle items are the wands, each have a unique ability
  • Creeper Wand- Places a tnt block that when clicked again, is lit
  • Ender Wand - launches an ender pearl
  • Spider Wand - Right click toggles wall climbing
  • Blaze Wand - Shoots blaze fireballs
Last Two Items
  • Bone Hoe - Infinite use
  • Squid Plate - Allows you to breath underwater and gives you night vision when in water
38MzCp2.png

This is the infusing furnace. It is crafted by placing obsidian around an infusing core, shown below. Use it to create the special ingots needed for this mod.

lc3lcTe.png





bZyjBp0.png

Glowstone as fuel, iron in top left slot, gunpowder, ender pearls, spider eyes, or blaze rods in the other slot depending on which ingot you want

This creates the ingots you need
  • Gunpowder - Creepium
  • Ender Pearl - Endium
  • Spider Eye - Spidium
  • Blaze Rod - Blazium
Ingots pictured below


ZqlolYq.png



Iron Stomach Amulet
  • So long as you have the negative hunger effect, you will have increased running speed and can step up one block. Best way to achieve this, eat zombie flesh. As long as this item is anywhere in your inventory it will work.
IGW1lCl.png



w5ww4Vk.png



uKn4U6p.png




nb5df52.png





I5J48wu.png



To enable the spider wand, right click with it, this toggles it on and off, with it on as long as it is in your hot bar it will work. You can shift while climbing to stop.
2JTPZIW.png



Textures partially completely by Sam L, i did all the non-fancy ones. The mod is still being worked on so any ideas or feedback is highly welcomed.

This is the first real mod i have seriously worked on. It is open source and you can see how i managed to do some of the things athttps://github.com/pauljoda/Mob-Tools.

Disclaimer
Do not use this open source as a way to copy my code. Any code on the site is free to include in your mod so long as you notify me and credit me somehow. I am all for the sharing of ideas but do not call my work your own.

With that being said i am happy to let you see my code as i wish many mods would have been open source while i was learning. So those few of you out there who want to see the code, there you go .

Notice
Want to help make this post better? Me too. If you are graphically inclined and could make a much more appealing forum post please let me know. I need help in that field.

I hope you enjoy the mod and feedback is very much appreciated
smile.png


Download http://adf.ly/O9zdO


Spotlights
Spotlight by MechDino
 

ILoveGregTech

New Member
Jul 29, 2019
788
0
0
I'm not gonna lie this is pretty good.
Would you mind telling me though how you made your omnitool? Code wise I mean. If you don't want to share it here feel free to send me a message. Also, for infinite use did you just use a zero in your EnumHelper.addMaterial?
 

Pauljoda

New Member
Jul 29, 2019
97
0
0
I'm not gonna lie this is pretty good.
Would you mind telling me though how you made your omnitool? Code wise I mean. If you don't want to share it here feel free to send me a message. Also, for infinite use did you just use a zero in your EnumHelper.addMaterial?

All my code is open source. Go here to see it. For the Omnitool I created a new tool class and used that. You are welcome to use it as long as I am credited. The infinite use is simply setting the max uses of an item to negative one, this will allow the item to be used without using any durability. Again, if you have any more questions feel free to ask or check the link to see the code itself.
 
  • Like
Reactions: ILoveGregTech

ILoveGregTech

New Member
Jul 29, 2019
788
0
0
All my code is open source. Go here to see it. For the Omnitool I created a new tool class and used that. You are welcome to use it as long as I am credited. The infinite use is simply setting the max uses of an item to negative one, this will allow the item to be used without using any durability. Again, if you have any more questions feel free to ask or check the link to see the code itself.
Thank you very much :)
Edit: If I ever play SSP again I will most likely use this mod ;)
 

ILoveGregTech

New Member
Jul 29, 2019
788
0
0
Ooooooh! I see what you did there ;)
You just made the BlocksEffectiveAgainst array larger :p
That's genius! :D
Edit: You have an error in your code: In your effective against array it says Block.blockSteel
It is right after Block.oreIron so I'm assuming you meant Block.blockIron
 

Pauljoda

New Member
Jul 29, 2019
97
0
0
Ooooooh! I see what you did there ;)
You just made the BlocksEffectiveAgainst array larger :p
That's genius! :D
Edit: You have an error in your code: In your effective against array it says Block.blockSteel
It is right after Block.oreIron so I'm assuming you meant Block.blockIron
One would think, however if I recall correctly the naming of things in the forge library is kinda wonky. For instance, they use EMERALD as the tool material for diamond, and spade and shovel interchangeably. Block.blockSteel is just one of those weird notations that they use. I could be wrong however with newer versions of forge, this was written under 1.4.7 and updated to 1.5.1 so they could very well have changed that. Ill look into that real quick.
 

ILoveGregTech

New Member
Jul 29, 2019
788
0
0
One would think, however if I recall correctly the naming of things in the forge library is kinda wonky. For instance, they use EMERALD as the tool material for diamond, and spade and shovel interchangeably. Block.blockSteel is just one of those weird notations that they use. I could be wrong however with newer versions of forge, this was written under 1.4.7 and updated to 1.5.1 so they could very well have changed that. Ill look into that real quick.
OK, so I'm having a bit of trouble getting out my second version.
I saved and closed eclipse.
I then did recompile.bat, but that failed
So I just went to reobfuscate.bat
it worked and I exited cmd prompt then went to the reobf folder, minecraft then viewed inside it
It doesn't have any of my newer class files and is really just basically the first version of my mod..
What am I doing wrong?

EDIT: Derp I did recomile not reobfuscate. I'll come back and tell you if I have any problems :p
Edit 2: OK, it still didn't work.. Help? :(
 

Lambert2191

New Member
Jul 29, 2019
3,265
0
0
I have to say I love the textures on your mob tools, especially the blaze one... and the ender scythe/ho looks just delicious! MEWANT!
 

Pauljoda

New Member
Jul 29, 2019
97
0
0
OK, so I'm having a bit of trouble getting out my second version.
I saved and closed eclipse.
I then did recompile.bat, but that failed
So I just went to reobfuscate.bat
it worked and I exited cmd prompt then went to the reobf folder, minecraft then viewed inside it
It doesn't have any of my newer class files and is really just basically the first version of my mod..
What am I doing wrong?

EDIT: Derp I did recomile not reobfuscate. I'll come back and tell you if I have any problems :p
Edit 2: OK, it still didn't work.. Help? :(

make sure that your files are showing up in the minecraft folder, what i have had to do in the past is copy my folders (as i keep them separate, check pahimar's video series) into the minecraft core folder, this lets the reobs. see it and get it ready for you. As i can not see your folder i can not tell you what the problem is. The best thing to do, is just take some time and really double check every step. Hope that helps
 

ILoveGregTech

New Member
Jul 29, 2019
788
0
0
make sure that your files are showing up in the minecraft folder, what i have had to do in the past is copy my folders (as i keep them separate, check pahimar's video series) into the minecraft core folder, this lets the reobs. see it and get it ready for you. As i can not see your folder i can not tell you what the problem is. The best thing to do, is just take some time and really double check every step. Hope that helps
I got it to work :p
The first time I recompiled it failed for some reason but then I re did that, reobfuscated and it worked...
Also how do you get the enchanted texture on your tools without having them enchanted? I looked in your item class files and your base class file and couldn't find anything about it
 

Pauljoda

New Member
Jul 29, 2019
97
0
0
I got it to work :p
The first time I recompiled it failed for some reason but then I re did that, reobfuscated and it worked...
Also how do you get the enchanted texture on your tools without having them enchanted? I looked in your item class files and your base class file and couldn't find anything about it

Add this line to the item file, this was taken from my blaze wand file


Code:
public boolean hasEffect(ItemStack is){
            return true;
        }