Hello, I was wondering if anyone had any idea on how to make a dropped item entity float 2 blocks in the air and just bob there? I have tried making the location of the entity update on loop, on the player moving, etc. Does anyone have any idea? I want to make the block move with a player also.
Oh ok, ill try that I spawn a wither skull but it blows up as soon as it spawns EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Code:java skull = (WitherSkull) p.getWorld().spawnEntity(p.getLocation(), EntityType.WITHER_SKULL); skull.setVelocity(new Vector(0,0,0)); Skionz It Still creates an explosion EDIT by Moderator: merged posts, please use the edit button instead of double posting.