7778798081828384858687
builder.getComponent(PickupComponent.class).itemEntity = pickupItem; } else { destroyItem = true; } pickupItem.send(new ItemDroppedEvent(builder)); if (destroyItem) { pickupItem.destroy(); } return builder.build(); }