Hi guys this is my first mod i have made,i dont know if anyone has made this already but here it is
Tap the ground with a Stick to get 64 diamonds!
This is a pretty simple mod with the basics:
A useitem function and an additeminventory
I know this might suck a lot but i only learnt javascript recently
Anyway import in blocklauncher with clipboard
Code:
function useItem(x,y,z,itemId,blockId)
{
if(itemId==280)
{
addItemInventory(264,64)
print("taegsters mod enjoy!")
}
}
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Tap the ground with a Stick to get 64 diamonds!
This is a pretty simple mod with the basics:
A useitem function and an additeminventory
I know this might suck a lot but i only learnt javascript recently
Anyway import in blocklauncher with clipboard
Code:
function useItem(x,y,z,itemId,blockId)
{
if(itemId==280)
{
addItemInventory(264,64)
print("taegsters mod enjoy!")
}
}