Is there anyway to increase the durabiliy of a tool? And is there a way to change the destroy time of already existing blocks but only if certain items are held?would Block.setDestroytime work? Any help will be rewarded with a +1.
I've tried using getCarriedItem to change a var which set the destroy time but it dont work. Are yoy trying to make custom tools? Or use a default tool on a custom block?
Block.setDestroyTime() sets the hardness of the block. If you set stone to the hardness of 5, it will take a long time to break by hand, and would only take a little bit of time with a diamond pickaxe.
Finally!!!! Someone who thinks about thing!!! EVERYONE says the second parameter is seconds.
Last time I checked it was stated in 500ise's custom blocks topic that it was hardness. People need to really start using thier resources given. But yeah I've heard the same :/
I've tried using getCarriedItem to change a var which set the destroy time but it dont work. Are yoy trying to make custom tools? Or use a default tool on a custom block?
No not costum tools i am making a enchanment mod but i dont know how i wiuld be able to add efficiency and unbreaking..
Lol. Oh well yours is probably going to be better. I am done every single enchantment for tools right now except those 2. Okay is it possible to have creative tools in survival? Like unbreakable pickaxes.
Lol. Oh well yours is probably going to be better. I am done every single enchantment for tools right now except those 2. Okay is it possible to have creative tools in survival? Like unbreakable pickaxes.
Huh ok maybe i will figure it out. If i dont i will just make it where for efficiency is like insta destroying
I have done only sword enchantments for now, but there is an XP bar, enchantment table + GUI and other things. I have spent the past week doing homework and fixing bugs (there are still some).
I will give 2 hints hints:
1. ModTick()
2. Dictionaries and arrays
I've tried to use modtick but for some reasons it didn't want to work. Ill look into more on how to do this in the morning. But whenever I use modtick it rarely works for me.
I have done only sword enchantments for now, but there is an XP bar, enchantment table + GUI and other things. I have spent the past week doing homework and fixing bugs (there are still some).
I have a gui but no progress bar and tons of bugs. Once i sort those out i will start on bow enchantments. But is there a way to increase durabilty of a tool or at least make it unbreakable?
I have a gui but no progress bar and tons of bugs. Once i sort those out i will start on bow enchantments. But is there a way to increase durabilty of a tool or at least make it unbreakable?
If you have PocketInvEditor, then you will notice that the damage of blocks effect the block and the damage of items is the durability. Also, I honestly don't see how bow enchantments are going to work in MCPE.
function modTick(){
if(Player.getCarriedItem()==id){
//Load a function or piece of code
}
}
If you have PocketInvEditor, then you will notice that the damage of blocks effect the block and the damage of items is the durability. Also, I honestly don't see how bow enchantments are going to work in MCPE.
I guess you can be sort of right. I am able to to set the arrow on fire but i cant do this:
Link:
http://www.minecraft.../#entry29816329
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
Finally!!!! Someone who thinks about thing!!! EVERYONE says the second parameter is seconds.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Last time I checked it was stated in 500ise's custom blocks topic that it was hardness. People need to really start using thier resources given. But yeah I've heard the same :/
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
No not costum tools i am making a enchanment mod but i dont know how i wiuld be able to add efficiency and unbreaking..
Link:
http://www.minecraft.../#entry29816329
So am I......
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Isn't everyone?
Anyways it would be difficult to do the way if setting a blocks destroy time by carried items. I've failed many times.
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
I will give 2 hints hints:
1. ModTick()
2. Dictionaries and arrays
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Lol. Oh well yours is probably going to be better. I am done every single enchantment for tools right now except those 2. Okay is it possible to have creative tools in survival? Like unbreakable pickaxes.
Huh ok maybe i will figure it out. If i dont i will just make it where for efficiency is like insta destroying
Link:
http://www.minecraft.../#entry29816329
I have done only sword enchantments for now, but there is an XP bar, enchantment table + GUI and other things. I have spent the past week doing homework and fixing bugs (there are still some).
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
I've tried to use modtick but for some reasons it didn't want to work. Ill look into more on how to do this in the morning. But whenever I use modtick it rarely works for me.
Want Custom ModPE functions? Look here -> WolfyPE ModPE functions
I have a gui but no progress bar and tons of bugs. Once i sort those out i will start on bow enchantments. But is there a way to increase durabilty of a tool or at least make it unbreakable?
Link:
http://www.minecraft.../#entry29816329
function modTick(){ if(Player.getCarriedItem()==id){ //Load a function or piece of code } }If you have PocketInvEditor, then you will notice that the damage of blocks effect the block and the damage of items is the durability. Also, I honestly don't see how bow enchantments are going to work in MCPE.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
I guess you can be sort of right. I am able to to set the arrow on fire but i cant do this:
function attackHook(attacker, victim) { if(Entity.getEntityTypeId(attacker) == 80) { Entity.setFireTicks(victim, 10); } }I can always set fire where the arrow lands but it doesnt seem like i would be able to do power.
Maybe i can do infinity. Maybe.
Link:
http://www.minecraft.../#entry29816329
Maybe? Use modTick() to make sure that there is always ONLY one arrow in the player's inventory.
Want GUI Templates? Done!
https://github.com/BeATz-UnKNoWN/ModPE_Scripts/wiki/ModPE-Script-Templates
P.S. Feel free to follow me so you know when I post "awesome" content and make the MCForums a brighter place (totally).
If you need to contact me you can either shoot a Kik message to beatz_unknown or send an email to [email protected]
Thanks for the tip. By the way wut happened to your profile picture?
Link:
http://www.minecraft.../#entry29816329