This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
How to make a tool that destroy blocks?
And how to decrease its durability after destroying one?
Give me an example please (Like a pickaxe or an axe)
I will appreciate that
Remember the time where minecraft was in development? Oh wait, I actually don't remember it...
function modTick() { if (Player.getCarriedItem()==/*Pickaxe Id*/&&Player.getPointedBlockId()==/*Block Id*/){ Block.setDestroyTime(/*Block Id*/, /*How fast or slow you want block to break*/) } }
Quote from Sadddarius1ยป function modTick() { if (Player.getCarriedItem()==/*Pickaxe Id*/&&Player.getPointedBlockId()==/*Block Id*/){ Block.setDestroyTime(/*Block Id*/, /*How fast or slow you want block to break*/) } }
Got a new problem, the block shape will not function properly when the code has been used.
Does anyone have a solution with this problem?
How to make a tool that destroy blocks?
And how to decrease its durability after destroying one?
Give me an example please (Like a pickaxe or an axe)
I will appreciate that
Remember the time where minecraft was in development? Oh wait, I actually don't remember it...
function modTick()
{
if (Player.getCarriedItem()==/*Pickaxe Id*/&&Player.getPointedBlockId()==/*Block Id*/){
Block.setDestroyTime(/*Block Id*/, /*How fast or slow you want block to break*/)
}
}
Thx! Really appreciate that
Remember the time where minecraft was in development? Oh wait, I actually don't remember it...
Got a new problem, the block shape will not function properly when the code has been used.
Does anyone have a solution with this problem?
Remember the time where minecraft was in development? Oh wait, I actually don't remember it...