Creating ender_signal around ocelot

Discussion in 'Plugin Development' started by edragy, Jul 27, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    edragy

    How to create ender_signal effect around a tamed cat on rightclickevent?
     
  2. Offline

    HON95

    Like this:
    Code:Java
    1. @EventHandler
    2. public void onEntityTame(EntityTameEvent ev) {
    3. ev.getEntity().getWorld().playEffect(ev.getEntity().getEyeLocation(), Effect.ENDER_SIGNAL, 0);
    4. }
     
Thread Status:
Not open for further replies.

Share This Page