My Code:
ExperienceOrb orb = (ExperienceOrb) block.getWorld().spawnEntity(event.getBlock().getLocation(), EntityType.EXPERIENCE_ORB); orb.setExperience(1);
The experience orb appears, but after ca 100 milliseconds the orb disappears
My Code:
ExperienceOrb orb = (ExperienceOrb) block.getWorld().spawnEntity(event.getBlock().getLocation(), EntityType.EXPERIENCE_ORB); orb.setExperience(1);
The experience orb appears, but after ca 100 milliseconds the orb disappears