This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hey guys! I am working on my mod and i will create a pickaxe. To mine faster i have tried this:
var pick = false;
function modTick(){
if(Player.getCarriedItem()==500){
pick=true;
}
else if(Player.getCarriedItem()!=500){
pick=false;
if(pick==true){
Block.setDestroyTime(200,0.1);
...
else if(pick==false){
Block.setDestroyTime(200,6);
But it doesnt work Can you help me or give another code?
Ok thanks i try it:)
Dont work And LeveldestroyBlcock
Dont work And Level.destroyBlock destroys all blocks and this too fast
Hey guys! I am working on my mod and i will create a pickaxe. To mine faster i have tried this:
var pick = false;
function modTick(){
if(Player.getCarriedItem()==500){
pick=true;
}
else if(Player.getCarriedItem()!=500){
pick=false;
}
if(pick==true){
Block.setDestroyTime(200,0.1);
...
}
else if(pick==false){
Block.setDestroyTime(200,6);
}
}
But it doesnt work
Can you help me or give another code?
Ok thanks i try it:)
Dont work And LeveldestroyBlcock
Dont work
And Level.destroyBlock destroys all blocks and this too fast 