world.createexplosion 1.8 help

Discussion in 'Programming' started by jd007, Jun 22, 2021.

Thread Status:
Not open for further replies.
  1. Hello,
    When I use world.createExplosion, I require to indicate an "entity", but I do not know what does that means.
    Ex: world.createExplosion(entity, d0, d1, d2, f, flag, flag1), what do I need to indicate in Entity part? I checked 1.8 spigot API but It does not show up the Entity part.
    Thank you!
     
  2. I'm not even seeing an overloaded method that requires an entity? I'm using 1.8.8. My guess is that you are importing from the net.minecraft package.

    Change your world import to:
    Code (Text):
    import org.bukkit.World;

    Also, for future reference, post questions like this here.
     
    • Like Like x 1
Thread Status:
Not open for further replies.