Efficiency

Started by Disguise17 on Fri, 04/24/2015 - 01:46
Last seen on 01:38, 2. Jun 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Efficiency
Fri, 04/24/2015 - 01:46

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?

Last seen on 12:58, 11. Dec 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yes you make the Pickaxe with
Fri, 04/24/2015 - 03:38

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.

Last seen on 01:38, 2. Jun 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks so much!
Fri, 04/24/2015 - 04:21

Thanks so much!

Last seen on 12:58, 11. Dec 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Thanks so much!
Fri, 04/24/2015 - 13:54

@#2 np glad to help with what I can