Efficiency

4 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months ago
Joined: 04/03/2015 - 05:43
Gems: 0
Efficiency

How do you make a pickaxe have more than 30 efficiency? Or to make an item have enchants when it gets crafted? I am making a pickaxe thats need 200 efficiency.Can it be done?



19062scott Ender Eye's picture
Offline
Last seen: 1 year 10 months ago
Joined: 04/19/2015 - 17:50
Gems: 0
Yes you make the Pickaxe with

Yes you make the Pickaxe with 30 for now then when done
Now in your workshop click on your Pickaxe so its selected

then click up top next to export the mod the VIEW SOURCE button

scroll down to the last few lines:

static{
Item.ToolMaterial enumt = EnumHelper.addToolMaterial("NAME_OF_PICKAXE", 1, 100, 30F, 50, 50);block

Edit the 30F to 200F so looks like this:

static{
Item.ToolMaterial enumt = EnumHelper.addToolMaterial("NAME_OF_PICKAXE", 1, 100, 200F, 50, 50);block

then save then save and recompile wait few sec. then exit out of that back to the workshop and export it to test it best to make 2 one with the 200 and one with only 30 so you can see the differences

Hope this helps still new to the myself no java or flash exp. but I am always learning new things.

---------------------------------------------

I am a builder not the best but a builder of many things red stone, buildings, landscapes and traps :) I also try and help fix problems

Offline
Last seen: 2 years 4 months ago
Joined: 04/03/2015 - 05:43
Gems: 0
Thanks so much!

Thanks so much!

19062scott Ender Eye's picture
Offline
Last seen: 1 year 10 months ago
Joined: 04/19/2015 - 17:50
Gems: 0
RE:Thanks so much!

@Disguise17 np glad to help with what I can

---------------------------------------------

I am a builder not the best but a builder of many things red stone, buildings, landscapes and traps :) I also try and help fix problems