Has anyone had experience with the ModPE API? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Has anyone had experience with the ModPE API?

So I have a mod for mcpe with the ModPE API, and I was wondering if it's possible to attack an entity via the ModPE API? Thanks!

19th Oct 2019, 11:19 AM
Paul Grasser
Paul Grasser - avatar
8 Answers
+ 1
so setHealth doesnt work ?
19th Oct 2019, 11:27 AM
Taste
Taste - avatar
0
19th Oct 2019, 11:23 AM
Taste
Taste - avatar
0
Taste I have, I couldn't find anything to answer my question :/
19th Oct 2019, 11:24 AM
Paul Grasser
Paul Grasser - avatar
0
I could try that, but isn't there something like attackEntity() or something?
19th Oct 2019, 11:28 AM
Paul Grasser
Paul Grasser - avatar
0
it should be there if there's any. so i think there isnt
19th Oct 2019, 11:31 AM
Taste
Taste - avatar
0
Alright, thanks!
19th Oct 2019, 11:32 AM
Paul Grasser
Paul Grasser - avatar
0
Taste just asking have you had experience with modding or did you just read the docs better than me?
20th Oct 2019, 9:04 AM
Paul Grasser
Paul Grasser - avatar
0
a little bit years ago in java edition 1.6.4 if i remember correctly
20th Oct 2019, 10:06 AM
Taste
Taste - avatar