promotional bannermobile promotional banner

MassTech Hammer API

just a simple hammer api for the MassTech Mods

This Doesnt do Much Other then Host the API-ESK for Mining in 3x3 

 

You are welcome to Use for Hammer API   

the Important import would be

 

import com.hybridavenger.mth.API.HammerItem;  

public static final DeferredItem<HammerItem> YURTOOLNAME = ITEMS.register("yurtoolname",
() -> new HammerItem(YurTOOLTIER, new Item.Properties()
.attributes(PickaxeItem.createAttributes(yurtooltier, 7f, -3.5f))));

if u want it to be Unbreakable.

import com.hybridavenger.mth.API.HammerItemUnbreakable;

public static final DeferredItem<HammerItem> YURTOOLNAME = ITEMS.register("yourtoolname",
() -> new HammerItemUnbreakable(yourtooltier, new Item.Properties()
.attributes(PickaxeItem.createAttributes(yourtooltier, 7f, -3.5f))));

Also be in mind this is just the Item not Tiers for the Tools, thats purely up to you

 

also untill i can get it fixed tools do lose 10 durability i will upload the code to Github as soon as i can

 

 

The MassTech Hammer API Team

profile avatar
  • 1
    Followers
  • 17
    Projects
  • 20.7K
    Downloads

More from HybridAvengerView all