Others Use attack hook and use "victim"
Example: function attackHook(attacker,victim)
{
If(getCarriedItem==280) //if u attack with a stick
{
Entity.setFireTicks(victim,99); //set fire to the. Victim for 99 ticks.
}
}
Exact entity's:
Google mcpe data values. The first one is it.
Hope this helps! I c u want to learn cause of ur signature. Kik me at mattfavematt and ill help u!
I am a map maker! I love making maps!
Hey, man!
Custom drops: already answered.
Entity id's:
player: use "getPlayerEnt()"
Example: setPosition(getPlayerEnt(),x,y,z)(
Others Use attack hook and use "victim"
Example: function attackHook(attacker,victim)
{
If(getCarriedItem==280) //if u attack with a stick
{
Entity.setFireTicks(victim,99); //set fire to the. Victim for 99 ticks.
}
}
Exact entity's:
Google mcpe data values. The first one is it.
Hope this helps! I c u want to learn cause of ur signature. Kik me at mattfavematt and ill help u!