inventoryTick

public Unit inventoryTick(ItemStack stack, World world, Entity entity, Integer slot, Boolean selected)(source)