This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I do not know how to add status effect like poison on custom sword.anybody know how to do that?
yep use this ModPE.setItem(900,"stick",0,"Stick Of DOOM",1) function attackHook(a,v){ if(getCarriedItem()==900){ Entity.addEffect(v,MobEffect.poison,5*20,1) }}
I do not know how to add status effect like poison on custom sword.anybody know how to do that?
yep use this
ModPE.setItem(900,"stick",0,"Stick Of DOOM",1)
function attackHook(a,v){
if(getCarriedItem()==900){
Entity.addEffect(v,MobEffect.poison,5*20,1)
}}