Skip to content

MassTech Hammer API

just a simple hammer api for the MassTech Mods

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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