代码示例来源:origin: Alex-the-666/Ice_and_Fire i = net.minecraftforge.event.ForgeEventFactory.getExperienceDrop(this, this.attackingPlayer, i); while (i > 0) { int j = EntityXPOrb.getXPSplit(i); i -= j; this.world.spawnEntity(new EntityXPOrb(this.world, this.posX, this.posY, th...