why is event.getentitytype is not available

Discussion in 'Plugin Development' started by XxDab, Jul 6, 2020.

  1. Offline


    why is event.getentitytype is not available
    my imports
    import org.bukkit.command.CommandSender;[​IMG]
    import org.bukkit.entity.EntityType;
    import org.bukkit.entity.Mob;
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.entity.CreatureSpawnEvent;
    import org.bukkit.event.entity.EntityExplodeEvent;
    import org.bukkit.plugin.java.JavaPlugin;
  2. Offline


    What event are you talking about? Maybe you could try something like event.getEntity().getType(). Make sure to google the event to see what methods you have access to.

Share This Page