Solved Spawning a custom entity

Discussion in 'Spigot Plugin Development' started by Peaches_MLG, Aug 1, 2018.

  1. Im trying to make a custom entity and have this code:

    Code (Text):
    public class Entity extends EntityWither{

        public Entity(World world, Location location) {
            super(world);

            this.setPosition(location.getX(), location.getY(), location.getZ());
            this.getWorld().addEntity(this);
        }
    }
    But whenever i try to spawn it it spawns in invisible (still shoots wither heads) (yes i have tried to set invisible to false)

    Do i need to do something with packets to make it visible?
     
  2. what is EntityWither?
     
  3. Praya

    Benefactor

    it's nms class of wither
     
  4. What do you mean reputation? spigot doesnt have that