Next time if you have a question, please PM me!
It will save other forum users time.
Or just Level.dropItem and getHealth and setHealth
sorry donald,but my smartphone can reply all comments(only post topic?//!!!)
so i waiting to open my computer and reply that
because i cant reply all comments,so i post this topic
whats the meaning of Entity.getHealth???
i used as Entity.getHealth(victim,-7);(example)
but i dont understand about that
if Entity.setHealth(victim,-7); i know,but have a bugs
the bugs are if mob who attacked died,dont drop any item
so i use Entity.getHealth
if you know whats the meaning of that, please tell me!!!
thanks!!!
sorry donald,but my smartphone can reply all comments(only post topic?//!!!)
so i waiting to open my computer and reply that
because i cant reply all comments,so i post this topic
but if
Entity.setHealth(victim,-7);
Entity.setFireTicks(victim,100);
this must hit (1x),if 2x will not drop item
and if hit(1x)the dropped item is cooked!!!
i know modpe script have a shortage and have a excess
but im still love modpe script!!!